Skip to main content
GET
Export workspace analytics
This endpoint requires a management API key with analytics:read.
The export accepts the same filters as the analytics endpoint and returns all matching aggregate rows as spreadsheet-safe CSV.

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

date
string<date>
label_key
string
Maximum string length: 64
label_value
string
Maximum string length: 256
key_id
string
end_user_id
string
Maximum string length: 256
model
string

Model identifier. This is a runtime string so newly released models can be used without waiting for an SDK update.

Example:

"ai21/jamba-1.5-large"

provider
string
Maximum string length: 128
endpoint
string
Maximum string length: 128
byok
boolean
success
boolean

Response

CSV analytics export

The response is of type string.

Last modified on August 30, 2026