usage

Get global usage by organization

get/admin/v1/usage/by-org

Request

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

Query parameters

start_datestring nullable

Start date (YYYY-MM-DD)

end_datestring nullable

End date (YYYY-MM-DD)

record_typestring nullable

Hadrian Extension: Filter by record type: "model" (LLM requests) or "tool" (server-side tool invocations). Omit to include both.

Response

Usage breakdown by organization

audio_secondsinteger required
character_countinteger required
image_countinteger required
input_tokensinteger required
org_idstring nullable
org_namestring nullable
output_tokensinteger required
request_countinteger required
total_costnumber double required
total_tokensinteger required

Changes

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