Skip to main content
GET
Stream run events

Authorizations

Authorization
string
header
required

Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.

Query Parameters

run_id
string
required

Run id

Minimum string length: 1

Response

A text/event-stream that ends with run_end.

A text/event-stream. Each message is event: <type> and data: <JSON>:

  • connected — first, with { run_id, state }.
  • one message per run event as it happens, named by its type (phase.started, phase.completed, phase.input_required, run.completed, …), with { id, event_type, phase, agent, payload, created_at }.
  • run_end — last, with { run_id, state, error }; then the stream closes.

Events are not replayed: you see what happens after you connect. A run that has already finished gets connected and run_end at once. Read history with Read a run log.