Skip to main content
GET
List requests

Authorizations

Authorization
string
header
required

An admin API key. Personal admin keys reach the API key, billing and Account endpoints for the creator's personal account; the other endpoints need an organization admin key. Security requirement entries list the permission a scoped key needs for the operation.

Scopes

billing.requests

Query Parameters

start
string<date-time>
required

Start of the range.

end
string<date-time>
required

End of the range. A future value is clamped to now, and the range cannot exceed two years.

model
string

Only list requests to this model ID.

key_id
string

Only count usage of the inference key with this public_id.

Pattern: ^[0-9a-f]{64}$
cursor
string

The next_cursor of the previous page.

Response

A page of requests

requests
object[]
required
next_cursor
string

Cursor for the next page. Omitted on the last page.