Pular para o conteúdo principal
POST
/
v1
/
agents
/
sessions
/
{session_id}
/
messages
Send message
curl --request POST \
  --url https://api.quintus.tec.br/v1/agents/sessions/{session_id}/messages \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "content": "<string>",
  "role": "user",
  "metadata": {}
}
'
{
  "agent_message": {
    "id": "<string>",
    "content": [
      {
        "text": "Hello agent",
        "type": "text"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "metadata": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://quintus.tec.br/docs/llms.txt

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

Autorizações

X-API-Key
string
header
obrigatório

Cabeçalhos

Idempotency-Key
string | null

Parâmetros de caminho

session_id
string
obrigatório

Corpo

application/json
content
obrigatório

Either a plain string (treated as a single text block) or a list of typed content blocks (text/image/file).

role
enum<string>
padrão:user
Opções disponíveis:
user,
assistant
metadata
Metadata · object

Free-form integrator storage attached to this message. Not seen by the agent.

Resposta

Successful Response

agent_message
Message · object
obrigatório