Getting the spend history of a tenant¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as GET to the path /admin/v1/tenants/{tenant_id}/spend.
Description¶
Returns the spend history for a tenant across budget periods, with each row converted to USD.
Request¶
The following parameters are available:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
tenant_id |
path | string |
yes | ID of the tenant. |
limit |
query | integer |
no | Maximum number of historical periods to return. |
Example¶
Example of the response body:
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
200 |
Spend history rows. |