{ "parameters": { "api-version": "2026-06-01", "billingAccountId": "12345:6789", "parameters": { "type": "Usage", "dataset": { "aggregation": { "totalCost": { "name": "Cost", "function": "Sum" } }, "filter": { "and": [ { "or": [ { "dimensions": { "name": "ResourceLocation", "operator": "In", "values": [ "East US", "West Europe" ] } }, { "tags": { "name": "Environment", "operator": "In", "values": [ "UAT", "Prod" ] } } ] }, { "dimensions": { "name": "ResourceGroup", "operator": "In", "values": [ "API" ] } } ] }, "granularity": "Daily" }, "includeActualCost": false, "includeFreshPartialCost": false, "timePeriod": { "from": "2022-08-01T00:00:00+00:00", "to": "2022-08-31T23:59:59+00:00" }, "timeframe": "Custom" }, "scope": "providers/Microsoft.Billing/billingAccounts/12345:6789" }, "responses": { "200": { "body": { "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", "type": "Microsoft.CostManagement/query", "id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", "properties": { "columns": [ { "name": "PreTaxCost", "type": "Number" }, { "name": "UsageDate", "type": "Number" }, { "name": "CostStatus", "type": "String" }, { "name": "Currency", "type": "String" } ], "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Forecast?api-version=2021-10-01&$skiptoken=AQAAAA%3D%3D", "rows": [ [ 2.10333307059661, 20180331, "Forecast", "USD" ], [ 218.68795741935486, 20180331, "Forecast", "USD" ], [ 0.14384913581657052, 20180401, "Forecast", "USD" ], [ 0.009865586851323632, 20180429, "Forecast", "USD" ] ] } } }, "204": {} }, "operationId": "Forecast_Usage", "title": "BillingAccountForecast" }