Unseal Space
REST APIMessages

Stream message events (SSE)

GET
/v1/projects/{id}/messages/{mid}/events

text/event-stream of AI SDK v5 UI Message Stream chunks for this message. Reconnecting with a Last-Event-ID header replays the missed range before going live.

x-api-key<token>

Workspace-owned API key with per-resource permissions.

In: header

Path Parameters

id*string
Formatuuid
mid*string
Formatuuid

Header Parameters

Last-Event-ID?string

Resume after the last persisted SSE event id received by the client.

Response Body

text/event-stream

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/events"
{  "event": "message",  "data": {    "type": "string",    "property1": null,    "property2": null  },  "id": "string",  "retry": 0}