Skip to main content
GET
/
v1
/
scoped-jwt
Inspect Scoped Jwt
curl --request GET \
  --url https://api.example.com/v1/scoped-jwt \
  --header 'Authorization: Bearer <token>'
{
  "expires_at": 123,
  "models": [
    "<string>"
  ],
  "spending_limit": 123
}

Authorizations

Authorization
string
header
required

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

Headers

xi-api-key
string | null

Query Parameters

jwtoken
string
required

Response

Successful Response

expires_at
integer
required

unix timestamp of when the token expires

models
string[] | null

which models is the token limited to

spending_limit
number | null

how much is the total spending limit set at creation