usage

Export usage logs (admin global)

Changed on
get/admin/v1/usage/logs/export

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/usage/logs/export
  • Auth: HTTP bearer

Query parameters

org_idstring uuid nullable
user_idstring uuid nullable
project_idstring uuid nullable
team_idstring uuid nullable
api_key_idstring uuid nullable
service_account_idstring uuid nullable
modelstring nullable
providerstring nullable
provider_sourcestring nullable
fromstring date-time nullable
tostring date-time nullable
record_typestring nullable

Filter by record type: "model" or "tool". Omit for both.

format'csv' | 'jsonl'

Export format for usage logs

Response

Exported usage logs

Changes