curl --request POST \
--url https://serverless.tensormesh.ai/detokenize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "openai/gpt-oss-20b",
"tokens": [
15496,
0
]
}
'{
"prompt": "Hello!"
}Convert token ids back to text with the verified Tensormesh Serverless host.
curl --request POST \
--url https://serverless.tensormesh.ai/detokenize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "openai/gpt-oss-20b",
"tokens": [
15496,
0
]
}
'{
"prompt": "Hello!"
}Use this page when you want to turn token ids back into text for a specific serverless model.Documentation Index
Fetch the complete documentation index at: https://docs.tensormesh.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <API_KEY>https://serverless.tensormesh.aiBearer authentication using your serverless API key. Format: Bearer <API_KEY>
Successful Response
"Hello!"
Was this page helpful?