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.
idstring
Unique ID for the token.
objectstring

Type of object (tokens).

createdinteger
Timestamp of when the tokens were generated.
modelstring
The name of the model used.
textstring
The converted tokens

Errors

400
Bad Request Error
403
Forbidden Error