Create a report across authorized workspaces

Creates the same report for every current-region workspace where the user can manage
reports. Pass workspace_id to restrict the request to one authorized workspace.

Returns source report references immediately. Poll the multi-workspace status endpoint
with those references until the combined report completes.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Body Params

TokenReports.CreateReportRequest

Request to create an agent token usage report

boolean
Defaults to false

When true, the report is omitted from list endpoints and deleted after one day.

filters
object

Filters for agent reports

date-time
required

DateTime in RFC3339 format

string
enum
required

Time granularity for aggregation.

  • hourly: Max 3 days date range
  • daily: Max 1 month date range
  • weekly: Max 3 months date range
  • monthly: Max 3 months date range
Allowed:
group_by
array of objects

Dimensions to group by. Default: [model]

group_by
Allowed:
string
enum
required
Allowed:
date-time
required

DateTime in RFC3339 format

Responses

Callback
Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json