Skip to content

Stream Storage Events

GET
/api/v1/storage/events

Stream storage write events via Server-Sent Events.

Pipeline adapters write content to storage during execution. Each write emits a storage.object.created event on /topic/system.storage.events. This endpoint subscribes to the topic, filters by execution/stage/path/extension, and streams matching events to the client.

Multi-execution aggregation: pass execution_id multiple times (?execution_id=tag1&execution_id=tag2) to multiplex events from several executions in a single stream. Each event carries its execution_id so consumers can distinguish sources.

Resumable: set the Last-Event-ID request header to skip events that sort lexicographically ≤ the provided UUIDv7. Best-effort — events published during the reconnect gap are lost.

The stream ends when all watched executions reach terminal state (completed/failed/cancelled), the timeout is reached, or the client disconnects.

execution_id
required
Execution Id

Execution UUID or tag(s); repeat for multi-execution watch

Array<string>

Execution UUID or tag(s); repeat for multi-execution watch

stage
Any of:
string

Filter by stage prefix (e.g. ‘boost/routines’)

path
Any of:
string

Filter by sub-path within stage

extension
Any of:
string

Filter by extension (.md, .json)

timeout
Timeout

Stream timeout in seconds

number
default: 300 >= 1 <= 3600

Stream timeout in seconds

keep_open
Keep Open

Do not auto-terminate when all watched executions complete

boolean

Do not auto-terminate when all watched executions complete

Successful Response

Resource not found

ErrorResponse

Standard error response matching FastAPI HTTPException format.

This model is used in OpenAPI response declarations for 4xx/5xx errors. The detail field matches FastAPI’s HTTPException structure.

object
detail
required
Detail

Error message (matches FastAPI HTTPException)

string
error_code
Any of:
string
correlation_id
Any of:
string
timestamp
Timestamp

Error timestamp

string format: date-time

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Storage event streamer not available

ErrorResponse

Standard error response matching FastAPI HTTPException format.

This model is used in OpenAPI response declarations for 4xx/5xx errors. The detail field matches FastAPI’s HTTPException structure.

object
detail
required
Detail

Error message (matches FastAPI HTTPException)

string
error_code
Any of:
string
correlation_id
Any of:
string
timestamp
Timestamp

Error timestamp

string format: date-time