Stream invocation events via SSE

Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and status updates for an invocation. The stream terminates automatically once the invocation reaches a terminal state.

GET/invocations/{id}/events

Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and status updates for an invocation. The stream terminates automatically once the invocation reaches a terminal state.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

The invocation ID to follow.

Query Parameters

since?string

Show logs since the given time (RFC timestamps or durations like 5m).

Response

text/event-stream

SSE stream of invocation state updates and logs.

Union type representing any invocation event.

A log entry from the application.

curl -X GET "https://example.com/invocations/string/events"
{  "event": "log",  "timestamp": "2019-08-24T14:15:22Z",  "message": "string"}