Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer

Headers

Accept-Language
enum<string>
default:en-US,en

Config desired response language for HTTP requests.

Available options:
en-US,en
Example:

"en-US,en"

Body

application/json
agent_id
enum<string>
required

Agent ID: general_translation.

Available options:
general_translation
messages
object[]
required

Session message body.

stream
boolean

False for sync calls (default). True for streaming.

custom_variables
object

Response

Processing successful

id
string

Task ID.

agent_id
string

Agent ID.

status
string

Task status.

choices
object[]

Model output content.

usage
object

Token usage statistics.