GET
https://api.examplary.ai/reseller/usage-reportOne row per workspace with AI token usage, credits and session counts over a date range. Demo workspaces are left out unless includeDemo=true or they're listed in orgs.
Query parameters
fromstring· date
First day (UTC) to include. Defaults to 30 days ago.
tostring· date
Last day (UTC) to include. Defaults to today.
orgsstring
Comma-separated IDs of managed orgs to include. Defaults to all paid workspaces.
includeDemostring
Include demo workspaces when `orgs` isn't given. Demo workspaces listed in `orgs` are always included.
Allowed values:truefalse
formatstring
`csv` (the default) downloads one row per workspace. `json` also returns totals across the workspaces and daily totals.
Allowed values:csvjson
Responses
400 — Validation Error
successbooleanrequired
Allowed values:false
errorarray any[]required
dataanyrequired
Requirements
OAuth scopes
This endpoint requires the reseller:read scope to be present.