Agentic DevelopmentThreads

Stream a thread's team chat

Server-sent events: messages and typing pings posted after connecting, backfilled with what was missed since Last-Event-ID. Delivery is at least once — a resume re-reads a short window before the given id, so a message may arrive twice. Ids are stable: drop one you already hold.

GET
/v1/threads/{id}/chat/stream

Server-sent events: messages and typing pings posted after connecting, backfilled with what was missed since Last-Event-ID. Delivery is at least once — a resume re-reads a short window before the given id, so a message may arrive twice. Ids are stable: drop one you already hold.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

id*string

Thread ULID

Header Parameters

Last-Event-ID?string

The id of the last frame the client received. The stream replays everything posted after it before going live.

Response Body

text/event-stream

curl -X GET "https://example.com/v1/threads/string/chat/stream"
{  "message": {    "author": "string",    "body": "string",    "created_at": "string",    "id": "string"  },  "typing_user_id": "string"}