Skip to main content
GET
/
v1
/
tenants
/
{tenantId}
/
costs
Get tenant cost time series
curl --request GET \
  --url https://api.devic.ai/v1/tenants/{tenantId}/costs \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

tenantId
string
required

tenantId

Query Parameters

granularity
enum<string>

Bucketing of the series

Available options:
daily,
monthly
from
string

Start date (YYYY-MM-DD, or YYYY-MM for monthly)

to
string

End date

subtenantId
string

Scope the series to a single subtenant

Response

Cost documents

The response is of type object.