Skip to content
Myra AI Workspace Administration Manual Updated · 01 Sep 2026

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:

[
  {
    "period": "string",
    "amount_usd": 0.0,
    "amount_micro": 0
  }
]

Responses

The endpoint answers the request with the following status codes:

Status code Description
200 Spend history rows.