orgs

Get Granular Usage

Get granular usage data with flexible grouping.

workspace_ids filters results to the specified workspaces. Only workspaces the user has read access to will be included in the results.

get/api/v1/orgs/current/billing/granular-usage

Query parameters

start_timestring date-time required
end_timestring date-time required
workspace_idsstring[] required
group_by'user' | 'api_key' | 'project' | 'workspace'

Dimensions for grouping granular usage data.

Response

Successful Response

Changes

No recorded changes to this endpoint across all 48 revisions of this API.