Skip to main content
POST
Detokenize

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
x-api-key
string | null

Body

application/json
model
string
required

model name

Example:

"my-org/my-dedicated-llm"

tokens
integer[]

token ids to detokenize

Response

Successful Response

prompt
string
required

detokenized text