SSE stream for a project chat conversation
const url = 'https://example.com/api/program-agent/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events';const options = {method: 'GET', headers: {cookie: 'sb-access-token=<sb-access-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/program-agent/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events \ --cookie sb-access-token=<sb-access-token>Session-authenticated observation stream for the project’s single shared chat conversation; the session is the project conversation, not one program’s. Emits hello/turn/change_set/delivery_recovery/status/error/ping events and replays stored turns on reconnect. Proposal notifications carry the exact ID, revision and status; status uses running/idle/terminated derived from durable processing state and reports uncertain delivery and processor errors. Does not execute provider or tool calls; durable processing continues without viewers. Current project access is rechecked on every transcript read.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Text/event-stream
Forbidden
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
Not found
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)