Skip to content
SarvexDocs
Esc
↑↓navigate↵open⌘Jpreview

Task raised or state changed

RECEIVEcontrol.task.updated
Message
task_idstringrequired
store_idstringrequired
statestringrequired

The task's state as of this change (see task_state in sarvex-v1-control-plane.yaml).

Headers
message_idstringrequired

Unique per message; consumers de-duplicate on this.

ordering_keystringrequired

The store_id. Guarantees per-store ordering; the catalog/serving tenant boundary (a store belongs to one merchant — see architecture §2a).

occurred_atstring<date-time>required
sequenceinteger<int64>

Monotonic per-connector sequence carried from the origin signal (ingest events only).

trace_idstring

Correlates a chain of events from one originating cause.

schema_versionstringrequired
Try it
Server
Payload

Live sending isn't possible for pubsub from a browser tab — copy the sample above and run it against your broker.

Message
{
  "task_id": "string",
  "store_id": "string",
  "state": "string"
}