v4

latestOpenAPI 3.1.02026-07-31155218294.8 KB
Authentication

Create Scoped Jwt

post/v1/scoped-jwt

Headers

xi-api-keystring nullable
x-api-keystring nullable

Request body

api_key_namestring required
modelsstring[] nullable

allow inference only to the specified model names

expires_deltainteger nullable

how many seconds in the future should the token be valid for

expires_atinteger nullable

unix timestamp when the token should expire

spending_limitnumber nullable

only allow spending that much USD until the token becomes invalid

Response

Successful Response

tokenstring required

The newly minted scoped JWT ready for use