events_stream (v0.9.4)
const url = 'https://example.com/events';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/eventsServer-Sent Events stream of orchestrator events. Each event’s data is one JSON-encoded OrchestratorEvent.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”SSE Last-Event-ID header; omitting it replays all retained events.
Responses
Section titled “ Responses ”One JSON-encoded OrchestratorEvent per SSE event.
object
Evidence used by proof generation, as a plain JSON object.
object
Intent that successfully completed proof generation.
Proposal that produced the proof.
object
Identifier of the proposed solution.
Examples include a URL, a UCP product variant ID, or another identifier agreed between the proposal author and evidence layer.
object
If the failure is caused by constraint violations, this points to the relevant constraints.
A failed constraint of the policy
object
Evidence extracted before the failure as a plain JSON object, omitted if none existed.
object
Intent that failed evidence extraction or proof generation.
Proposal that was being processed when the failure occurred.
object
Identifier of the proposed solution.
Examples include a URL, a UCP product variant ID, or another identifier agreed between the proposal author and evidence layer.
Human-readable failure reason.
object
Intent that expired before receiving a proposal.