Skip to main content
GET
Get tenant cost time series

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See 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.