Skip to main content
GET
{base_url}
/
admin
/
usage
/
throughput
Error
A valid request URL is required to generate request examples
{
  "bucket_seconds": 123,
  "buckets": [
    {
      "input_tokens": 123,
      "locally_cached_tokens": 123,
      "output_tokens": 123,
      "prompt_cached_tokens": 123,
      "start": "<string>"
    }
  ],
  "granularity": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

granularity
string
required

Bucket granularity: second, minute, hour, day

Response

OK

bucket_seconds
integer
buckets
object[]
granularity
string