Skip to main content
GET
Get an organization's usage metrics

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.

Response

Usage metrics for the range.

by_model
object[]
required
by_workspace
object[]
required
organization_id
string
required
period_end
string<date-time>
required
period_start
string<date-time>
required
summary
object
required