cURL
curl --request POST \ --url https://sontairo.com/api/chat/messages \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>", "content": "<string>", "projectId": "<string>", "conversationId": "<string>", "agentId": "<string>", "providerKeyId": "<string>" } '
"<string>"
Send a message to an agent and receive a streaming SSE response.
Message content
1 - 20000
Existing conversation ID. Omit to start new.
Agent to chat with
SSE stream with conversation events
Server-Sent Events stream. Events: conversation, status, tool_call, tool_result, done, error