Skip to main content
GET
List usage by scope
Use an organization API key (All teams). An existing legacy team key can read the team, user, and playbook scopes for its own team only. See Export usage and spend for examples, pagination, and error handling.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key. User keys can't read consumption data.

Path Parameters

organizationId
integer<int64>
required

ID of the organization the API key belongs to.

scope
enum<string>
required

Dimension to report on. The scope must be enabled in the Consumption view for your organization.

Available options:
user,
team,
playbook,
billing_group

Query Parameters

month
string
required

Calendar month to read, in UTC, in YYYY-MM format.

Pattern: ^[0-9]{4}-[0-9]{2}$
Example:

"2026-10"

team_id
integer<int64>

ID of one team. Limits the user and playbook scopes to usage in that team. Any other scope returns 400. A legacy team API key can pass only its own team's ID.

Required range: x >= 1
limit
integer
default:50

Maximum number of rows to return.

Required range: 1 <= x <= 100
offset
integer
default:0

Number of rows to skip before the first row in the response.

Required range: x >= 0

Response

One page of breakdown rows.

scope
enum<string>
required

The scope from the path.

Available options:
user,
team,
playbook,
billing_group
currency
string
required

Currency of cost_in_cents.

Example:

"USD"

data
object[]
required
pagination
object
required