Skip to main content
POST
/
agents
/
chat
Chat
curl --request POST \
  --url https://api.example.com/agents/chat \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "session_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json

Request body for the main chat entry point.

Attributes: message: The user message to send. session_id: Session ID for conversation continuity. New session if None.

message
string
required
session_id
string | null

Response

Successful Response