Detokenize

Generates text from tokens using a model's tokenizer.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
modelstringRequired
The name of the model to use for detokenization.
tokenslist of integersRequired
The tokens to turn into text.

Response

Successful response.
idstringOptional
Unique ID for the token.
objectstringOptional

Type of object (tokens).

createdintegerOptional
Timestamp of when the tokens were generated.
modelstringOptional
The name of the model used.
textstringOptional
The converted tokens

Errors

400
Bad Request Error
403
Forbidden Error