Get Usage Summary
Retrieve a summary of API usage and costs for a time period.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | string | No | Start date (ISO 8601). Default: 30 days ago |
endDate | string | No | End date (ISO 8601). Default: now |
Response
Example
Get Usage by Tag
Break down usage and costs by a metadata tag.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tagKey | string | Yes | Tag key to group by (e.g., project, environment) |
startDate | string | No | Start date (ISO 8601) |
endDate | string | No | End date (ISO 8601) |
limit | number | No | Max results (1-100). Default: 20 |
