POST
/
api
/
v1
/
letta
/
test-message
Test Send Message
curl --request POST \
  --url https://services.staging.app.dados.rio/eai-agent/api/v1/letta/test-message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_id": "agt_123456789",
  "message": "Olá, como posso ajudar?",
  "name": "Usuário"
}'
{
  "response": "Olá! Sou o assistente Letta e estou aqui para ajudar."
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Schema para requisição de envio de mensagem para o agente Letta.

Response

200
application/json

Successful Response

Schema para resposta do agente Letta.