Sequences

Set Sequence Status

Drive the status machine directly. PREFER THE NAMED TRANSITIONS.

/launch, /pause, /resume, /terminate and /archive each run the wind-down, scheduling and event work that belongs to them. This endpoint only SETS THE STATUS, so a sequence moved to terminated this way never emits its termination event and its workers are never wound down. It is exposed because the app exposes it and a rebuilt settings panel uses it - not because it is the way to stop a sequence.

The app's state machine rejects an illegal transition.

post/sequences/{sequence_id}/status

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/sequences/{sequence_id}/status
  • Auth: HTTP bearer

Path parameters

sequence_idstring required

Sequence id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

statusstring required

Target status: drafted, scheduling, live, pausing, paused, resuming, terminating, terminated, completed or waiting. Declared as an open string rather than an enum so a status the sequencer adds is not rejected by a stale copy here - the app's own SequenceStatus enum is the source of truth and an unknown value comes back as a 422 that LISTS the valid set.

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.