GenerateDetailedCostReportDefinition

The definition of a cost detailed report.

Cost ManagementFinOpsCloud CostBillingBudgetsExportCost AnalysisForecastingChargebacksFocusMicrosoft AzureReserved Instances

Properties

Name Type Description
metric object The type of the detailed report. By default ActualCost is provided
timePeriod object Has time period for pulling data for the cost detailed report. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.
billingPeriod string Billing period in YearMonth(e.g. 202008) format. Only for legacy enterprise customers can use this. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided cu
invoiceId string Invoice ID for Pay-as-you-go and Microsoft Customer Agreement scopes. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.
customerId string Customer ID for Microsoft Customer Agreement scopes (Invoice Id is also required for this).
View JSON Schema on GitHub

JSON Schema

microsoft-azure-cost-management-generate-detailed-cost-report-definition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cost-management/json-schema/microsoft-azure-cost-management-generate-detailed-cost-report-definition-schema.json",
  "title": "GenerateDetailedCostReportDefinition",
  "description": "The definition of a cost detailed report.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-cost-management-providers-api-openapi.yml#/components/schemas/GenerateDetailedCostReportDefinition",
  "type": "object",
  "properties": {
    "metric": {
      "$ref": "#/$defs/GenerateDetailedCostReportMetricType",
      "description": "The type of the detailed report. By default ActualCost is provided"
    },
    "timePeriod": {
      "$ref": "#/$defs/GenerateDetailedCostReportTimePeriod",
      "description": "Has time period for pulling data for the cost detailed report. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided."
    },
    "billingPeriod": {
      "type": "string",
      "description": "Billing period in YearMonth(e.g. 202008) format. Only for legacy enterprise customers can use this. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided."
    },
    "invoiceId": {
      "type": "string",
      "description": "Invoice ID for Pay-as-you-go and Microsoft Customer Agreement scopes. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided."
    },
    "customerId": {
      "type": "string",
      "description": "Customer ID for Microsoft Customer Agreement scopes (Invoice Id is also required for this)."
    }
  },
  "$defs": {
    "GenerateDetailedCostReportMetricType": {
      "type": "string",
      "description": "The type of the detailed report. By default ActualCost is provided",
      "enum": [
        "ActualCost",
        "AmortizedCost"
      ],
      "x-ms-enum": {
        "name": "GenerateDetailedCostReportMetricType",
        "modelAsString": true,
        "values": [
          {
            "name": "ActualCost",
            "value": "ActualCost"
          },
          {
            "name": "AmortizedCost",
            "value": "AmortizedCost"
          }
        ]
      }
    },
    "GenerateDetailedCostReportTimePeriod": {
      "type": "object",
      "description": "The start and end date for pulling data for the cost detailed report.",
      "properties": {
        "start": {
          "type": "string",
          "description": "The start date to pull data from. example format 2020-03-15"
        },
        "end": {
          "type": "string",
          "description": "The end date to pull data to. example format 2020-03-15"
        }
      },
      "required": [
        "start",
        "end"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-cost-management-generate-detailed-cost-report-definition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.