POST
/
api
/
v1
/
eai-gateway
/
chat
Handle Chat
curl --request POST \
  --url https://services.staging.app.dados.rio/eai-agent/api/v1/eai-gateway/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_number": "<string>",
  "agent_type": "<string>",
  "name": "<string>",
  "tags": [
    "<string>"
  ],
  "system": "<string>",
  "memory_blocks": [
    {}
  ],
  "tools": [
    "<string>"
  ],
  "model": "<string>",
  "embedding": "<string>",
  "context_window_limit": 123,
  "include_base_tool_rules": true,
  "include_base_tools": true,
  "timezone": "<string>",
  "message": "<string>",
  "use_same_agent": true,
  "timeout": 180,
  "polling_interval": 2
}'
{
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.