For Agents
Pulls Azure RateCard pricing for an offer and time-bucketed UsageAggregates so agents can build cost reports, forecast spend, and feed FinOps dashboards.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the UsageManagementClient, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with UsageManagementClient API.
Retrieve the RateCard for an Azure offer (e.g., MS-AZR-0003P) in a chosen region and currency to know the unit price of every meter
Pull UsageAggregates for a subscription bucketed hourly or daily to show metered consumption across resource groups and meters
Filter UsageAggregates by reportedStartTime and reportedEndTime to align cost telemetry with a custom billing period
Combine RateCard prices with UsageAggregates quantities to compute estimated cost per resource group, tag, or meter
GET STARTED
Use for: Get the RateCard for offer MS-AZR-0003P in USD for the EN-US region, Pull hourly Azure usage aggregates for my subscription for last month, Calculate estimated cost for resource group 'web-rg' from yesterday's usage, Find the unit price of meter 'D2 v3 VM' in the current RateCard
Not supported: Does not produce invoices, manage budgets, or expose marketplace charges — use the Billing, Cost Management, and Consumption APIs for those; this client only returns RateCard pricing and UsageAggregates rows.
Jentic publishes the only available OpenAPI document for UsageManagementClient, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for UsageManagementClient, keeping it validated and agent-ready. The Microsoft.Commerce Usage Management Client returns Azure billing telemetry — RateCard data describing the meter catalog and prices for an offer in a region and currency, plus UsageAggregates time-bucketed metered usage for a subscription. Agents use it to forecast cloud spend, attribute costs to resource groups, and feed cost figures into FinOps dashboards. Authentication is Azure Active Directory OAuth 2.0 on management.azure.com.
Feed Azure cost figures into a FinOps dashboard that correlates spend with deployment activity by querying both endpoints in tandem
Patterns agents use UsageManagementClient API for, with concrete tasks.
★ Daily Azure cost report
Finance teams need a daily report showing yesterday's Azure spend per subscription with a breakdown by meter category. The agent queries UsageAggregates with aggregationGranularity=Daily and the prior day's window, then joins each row's meterId with the RateCard prices to compute cost = quantity x unit-price. Output is suitable for direct ingest into a BI tool or Slack summary.
Call GET /subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates with reportedStartTime=2026-06-09T00:00:00Z, reportedEndTime=2026-06-10T00:00:00Z, aggregationGranularity=Daily; join with the RateCard for offer MS-AZR-0003P in USD; emit a CSV with columns meterCategory, quantity, unitPrice, costUSD.
Pricing snapshot for forecasting
Capacity planners forecasting next-quarter spend need a stable price reference. The agent calls the RateCard endpoint once for the relevant offer/currency/region/locale combination and caches the meter list and prices. Forecasted resource counts multiplied by these unit prices produce a forward cost estimate that the team can compare against a budget.
Call GET /subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard with $filter=OfferDurableId eq 'MS-AZR-0003P' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US' and store the resulting Meters array as the forecast price baseline.
Tag-based cost attribution
An agent supporting a FinOps team needs to attribute Azure cost to engineering tags such as environment or project. UsageAggregates exposes instanceData containing tags, so the agent groups quantities by tag value, joins to RateCard prices, and produces a per-tag cost roll-up. The same logic supports resource-group-level chargeback.
Pull UsageAggregates for subscription SUB123 over the last 7 days hourly, parse instanceData.tags.environment, group quantities by environment value, multiply by the matching RateCard meter price, and return a JSON map of environment to cost.
Agent-driven cost summary via Jentic
An ops agent answering 'what did we spend on Azure yesterday?' can combine RateCard and UsageAggregates through Jentic without writing a custom Azure SDK script. Jentic exposes both operations as searchable tools with their input schemas; the agent calls them in sequence and reduces the result to a one-line summary. Credentials remain in the vault.
Search Jentic for 'azure usage aggregates', execute for the prior day with subscriptionId=SUB123 and aggregationGranularity=Daily, then for the same period fetch the RateCard and reply with 'Azure spend yesterday: $X across N resource groups'.
2 endpoints — jentic publishes the only available openapi specification for usagemanagementclient, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard
Retrieve the RateCard pricing for an offer, currency, locale, and region
/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates
Pull metered usage aggregates over a time window
/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard
Retrieve the RateCard pricing for an offer, currency, locale, and region
/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates
Pull metered usage aggregates over a time window
Three things that make agents converge on Jentic-routed access.
Credential isolation
Azure AD client secrets and tenant configuration are encrypted in the Jentic vault. The agent receives only a scoped OAuth bearer token at execution time, so reading billing data never exposes service principal credentials in prompts or logs.
Intent-based discovery
Agents query Jentic with intents like 'azure usage aggregates' or 'azure ratecard pricing' and Jentic returns the matching Microsoft.Commerce operation with the OData $filter parameters and time-window query parameters declared.
Time to first call
Direct ARM integration: 1-2 days for MSAL, OData $filter assembly, and pagination of UsageAggregates. Through Jentic: under 30 minutes.
Alternatives and complements available in the Jentic catalogue.
ConsumptionManagementClient
Newer Azure consumption and cost API with richer dimensions (tags, charges, budgets)
Choose Consumption when you need amortised charges, budgets, or marketplace data; UsageManagementClient is the older, simpler 2015 API.
CommerceManagementClient
Sibling Microsoft.Commerce API exposing additional billing operations
Use alongside UsageManagementClient when an agent needs broader Microsoft.Commerce surface beyond RateCard and UsageAggregates.
ComputeManagementClient
Lists VMs whose meters appear in UsageAggregates
Use to enrich UsageAggregates rows with current VM metadata (size, tags, location) for richer cost attribution.
Specific to using UsageManagementClient API through Jentic.
Why is there no official OpenAPI spec for UsageManagementClient?
Microsoft Azure does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call UsageManagementClient via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up .
What authentication does the UsageManagementClient use?
Azure Active Directory OAuth 2.0 against https://login.microsoftonline.com/common/oauth2/authorize. Through Jentic, the AAD client secret stays encrypted in the vault and a scoped bearer token is issued to the agent at call time, so the secret never enters agent context.
Can I get hourly Azure usage with the UsageManagementClient?
Yes. GET /subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates with aggregationGranularity=Hourly and a reportedStartTime/reportedEndTime window returns hourly buckets. Use Daily for daily granularity instead.
What are the rate limits for the UsageManagementClient?
Calls go through Azure Resource Manager and the Microsoft.Commerce provider, subject to the standard ARM read throttling envelope (roughly 12,000 reads per hour per subscription). The exact Commerce-specific limit is not declared in the spec; respect Retry-After on 429.
How do I pull a RateCard through Jentic?
Run pip install jentic, then client.search('azure ratecard pricing'), client.load on the returned GET on /Microsoft.Commerce/RateCard, and client.execute with $filter set to the offer, currency, locale and region you need. Jentic injects the AAD bearer token and returns the parsed meter catalog.
Does the UsageManagementClient support EA or CSP agreements?
RateCard is offer-scoped — pass the appropriate OfferDurableId in $filter (for example, the EA offer for an Enterprise Agreement). UsageAggregates returns metered usage for whatever subscription you query, regardless of agreement type, but EA and CSP customers may also use the Consumption and Cost Management APIs for richer reporting.