Skip to main content
GET
Get an organization's usage over time

Authorizations

Authorization
string
header
required

Session token from signing in, sent as Authorization: Bearer <token>.

Path Parameters

org_id
string
required

The organization id (a UUID).

Query Parameters

start
string

Start of the range (ISO 8601). Defaults to 30 days before end.

end
string

End of the range (ISO 8601). Defaults to now. The range may not exceed 366 days.

granularity
string

Bucket size: hour, day or week. Defaults to day.

Response

Usage per time bucket.

data
object[]
required
granularity
string
required
organization_id
string
required
period_end
string<date-time>
required
period_start
string<date-time>
required