Budget & Spend Tracking
Internal User management

Get User Daily Activity Export

get/user/daily/activity/export

Request

  • Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/user/daily/activity/export
  • Auth: API key in header x-litellm-api-key

Query parameters

export_type'daily' | 'daily_with_keys' | 'daily_with_models' | 'daily_with_users'
format'csv' | 'json'
start_datestring nullable

Start date in YYYY-MM-DD format

end_datestring nullable

End date in YYYY-MM-DD format

modelstring nullable

Filter by specific model

api_keystring nullable

Filter by specific API key

user_idstring nullable

Filter by specific user ID. Admins can filter by any user or omit for global view. Non-admins must provide their own user_id.

timezoneinteger nullable

Timezone offset in minutes from UTC (e.g., 480 for PST). Matches JavaScript's Date.getTimezoneOffset() convention.

include_current_utc_dayboolean

When the range ends on the caller's current local day, extend it to today's UTC bucket so spend written after the caller's local midnight (in UTC terms) is included. Requires the timezone parameter. Historical ranges are never extended.

Response

Streamed daily activity export

object[] required

Changes

No recorded changes to this operation across all 1 revision of this API.