| Description | : Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later. **Note:Microsoft will be retiring the Consumption Usage Details API at some point in the future. We do not recommend that you take a new dependency on this API. Please use the Cost Details API instead. We will notify customers once a date for retirement has been determined.For Learn more,see [Generate Cost Details Report - Create Operation](https://learn.microsoft.com/en-us/rest/api/cost-management/generate-cost-details-report/create-operation?tabs=HTTP)** |
| Reference | : Link ¶ |
⚼ Request
GET:
/{scope}/providers/Microsoft.Consumption/usageDetails
{
scope:
string
,
$expand:
string
,
$filter:
string
,
$skiptoken:
string
,
$top:
integer
,
api-version:
string
,
metric:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
kind:
enum
,
}
nextLink:
string
,
}
⚐ Response (204)
{}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}