Skip to main content
GET
curl

Authorizations

Authorization
string
header
required

An account provisioning key. Send it as Authorization: Bearer <key>. Provisioning keys manage the account and cannot reach a model.

Path Parameters

key_id
integer<int64>
required

The key's id, as the listing reports it.

Response

The key, without its secret.

One API key of the account, without its secret.

id
integer<int64>
required

The key's id, which is the {key_id} the per-key routes take.

name
string
required

The label the key carries.

created_at
string
required

When the key was created: UTC to the second, without an offset.

expires_at
string | null
required

When the key stops working, or null for one that never expires.

is_enabled
boolean
required

Whether the key works at all.

credit_limit
number<double> | null
required

The key's own spending limit in credits, or null for none.