Skip to main content
GET
List requests

Authorizations

Authorization
string
header
required

Create an API key in the console.

Query Parameters

start
string<date>
required
end
string<date>
required
limit
integer
default:25
Required range: 1 <= x <= 200
cursor
string | null
Maximum string length: 256
timezone
string
default:UTC
Maximum string length: 64
model
string | null
Maximum string length: 128
api_key_id
string | null
Maximum string length: 64
source
string | null
Pattern: ^(api|console)$
request_id
string | null

Only the request with this id: the X-Request-ID an answer carried (req_...), or the operation's own id (dec_...).

Maximum string length: 64
project
string | null

Count only this project's usage, by its id. Without it, you get all the usage you can see: the whole organisation's, or your projects' if an owner limited you to some. A project's API key sees its own project alone.

Maximum string length: 64

Response

Successful Response

data
UsageRequest · object[]
required
has_more
boolean
required
next_cursor
string | null
required