Skip to main content
POST
Detokenization
Convert a list of token IDs back into text.

Body

application/json
tokens
integer[]
required

A token sequence to detokenize.

Example:
model
string | null

Routes the request to a specific adapter.

Example:

"(adapter-route)"

Response

Successfully detokenized the tokens.

text
string
required

Detokenized text output.

Last modified on June 9, 2026