---
title: "Stream Chat Messages"
method: GET
path: "/agent/response/{chat_id}"
tags: ["accepts-api-key"]
---

# Stream Chat Messages

`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)
- URL: `https://api.tellers.ai/agent/response/{chat_id}`
- Auth: none declared

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.

## Path parameters

- `chat_id` string, uuid, required

## Query parameters

- `after` string, date-time, nullable
- `last_event_id` string, nullable

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tellers/apis/tellers-api.md) - [All operations](https://skmtc.dev/tellers/apis/tellers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tellers/apis/tellers-api/revisions/fdaa0fa44a26?raw)
