Skip to main content
GET
Export API usage (CSV)

Authorizations

Authorization
string
header
required

JWT token authentication

Query Parameters

facilityId
integer

When set, restrict aggregates to API keys with this api_keys.facility_id. Required for facility-scoped sessions that are not internal cross-facility operators. Omit for platform-wide totals (internal operators only).

days
integer
default:30
granularity
enum<string>
default:day
Available options:
hour,
day

Response

CSV document

The response is of type file.