Skip to main content
POST
/
oracle
/
sessions
/
{session_id}
/
chat
/
stream
Stream a follow-up chat answer for an Oracle session (SSE)
curl --request POST \
  --url https://apigcp.trynia.ai/v2/oracle/sessions/{session_id}/chat/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>"
}
'
"<string>"

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

session_id
string
required

Session ID to chat with

Body

application/json
message
string
required

User's follow-up question

Required string length: 1 - 10000

Response

SSE stream of follow-up chat events and content chunks

Stream of Server-Sent Events with JSON payloads. Typical event types:

  • tool_start / tool_complete (OracleAgent events)
  • content: {type, content} (answer chunks)
  • done: {type, session_id}
  • error: {type, error}