Skip to main content
POST
/
api
/
chat
/
translate
Translate text
curl --request POST \
  --url https://api.example.com/api/chat/translate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "source_language": "<string>",
  "target_languages": [
    "<string>"
  ]
}
'
{
  "translations": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.genow.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Body

application/json
text
string
required
source_language
string
required
target_languages
string[]
required
Minimum array length: 1

Response

Successful Response

Response schema for translation endpoint.

translations
Translations · object
required