accepts-api-key

Stream Chat Messages

Subscribe to a chat's agent SSE stream (Redis-backed).

Emits the exact same events as POST /agent/response — both sides read from the per-chat Redis Stream written by the producer running the agent.

Query params:

  • last_event_id: resume from this Redis stream entry id. Pass the id: of the last SSE event you received to avoid duplicates. When omitted, the subscription starts from "now" — only events produced after the GET request arrives are delivered, no history is replayed.
  • after: accepted for backward compatibility and currently ignored. Use last_event_id instead.

Like POST /agent/response, the stream is terminated by a tellers.stream.end event carrying the reason the turn ended. It is also emitted when the subscription finds the chat already finished, so a client that reconnects late still gets a definitive answer instead of an idle socket.

get/agent/response/{chat_id}

Request

  • Base URL
    https://api.tellers.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

chat_idstring uuid required

Query parameters

afterstring date-time nullable
last_event_idstring nullable

Headers

x-api-keystring nullable
authorizationstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.