Skip to main content
GET

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Conversation ID.

Response

A stream of Server-Sent Events

WidgetEvent is the visitor-facing event vocabulary. It MIRRORS the internal conversation event variants — same granularity, same discriminator names — with slimmed messages holding exactly what a widget UI needs. Internal events map to these through an explicit, exhaustive server-side projection; internal-only types (context compaction, memory reads, sub-agent bookkeeping) have no widget variant and are dropped. Nothing here carries tool configuration, server identities, operator details, or internal error strings. Tool arguments cross this boundary only when an enabled tool set overlay explicitly opts the matching tool in.

type
enum<string>
required
Available options:
userMessage
userMessage
object
required

WidgetUserMessageEvent is a message from the visitor.

id
string
required
read-only

Unique event id (prefixed ULID). Only durable objevt_ IDs are emitted as SSE id: fields and accepted as Last-Event-ID reconnect cursors. Transient heartbeats carry hb_ IDs in this payload only.

conversationId
string
required
read-only

The conversation this event belongs to.

Example:

"obj_01HXKD2E5NQM3T9AYWCFQAZGFV"

createdAt
string<date-time>
required
read-only