Skip to main content
POST
/
agent
/
chat
Agent Chat External
curl --request POST \
  --url https://api.example.com/agent/chat \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "message": "<string>",
  "conversationId": "<string>",
  "language": "es",
  "proposalLanguage": "<string>",
  "appliedTemplateConfig": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Request for Agent Mode via API key authentication.

message
string
required

User message text

Maximum string length: 10000
conversationId
string | null

Existing conversation ID. None to start new.

language
string
default:es
proposalLanguage
string | null
appliedTemplateConfig
Appliedtemplateconfig · object

Template config (rate, validity, type, etc.) for agent context.

Response

Successful Response