Skip to main content
GET
Error

Authorizations

x-api-key
string
header
required

Organisation API key. Format: sk_<secret>/<keyname> — the secret portion, a literal slash, and the human-readable key name. The header exulu-api-key is accepted as an alias. A Bearer prefix is tolerated and stripped. Keys with an agent scope are only valid for the scoped agent instance.

Query Parameters

start_date
string

Start of the window. Accepts YYYY-MM-DD or an ISO datetime string. Defaults to 30 days before end_date.

end_date
string

End of the window. Accepts YYYY-MM-DD or an ISO datetime string. Defaults to today (UTC).

Response

Usage view for the requested window, or null when spend data is hidden by the admin.

usage
object | null
required

null when show_user_budget_in_chat is disabled or the user has no LiteLLM budget tag.