Run a saved scenario against the draft head, simulated

Runs a saved input scenario through the workflow executor against the exact draft head, in simulated mode: no version is published, nothing is pinned, no live event is routed to it, and every effect (a device command, an HTTP request, a metadata write, a dataset record) is recorded as an intent and performed by nothing. The request has no mode member and unknown members are rejected. Requires workflow_graph update permission on the proposal company and every ability the draft's graph needs on it (403 missing_abilities). head_sha must be the draft's current head: the orchestrator checks it again under a lock on the proposal row, so a draft edited meanwhile is never tested as the old head. The run is asynchronous: answer 202 with status running; read the result with GET until the status is completed or failed. Answers 503 when the orchestrator's internal URL and keys are not configured. The run executes in the company's production environment under a hidden workflow of its own, so its state, waits, rate limits and datasets are not the live workflow's; its reads (device and SIM lookups, secrets) run as in any simulated batch, on real company data, and timers (delay@1, rate_limit@1) run in real time: a test of a long delay stays waiting for that long.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
string
required
^[0-9a-f]{7,64}$
uuid
required

A scenario saved on this proposal, for this head or an earlier one whose entry point is still in the draft.

Responses

400

Invalid request, or a draft graph that does not decode

401

Not authenticated

403

The caller lacks abilities the graph needs (code missing_abilities; missing_abilities lists them)

404

Proposal or scenario missing or inaccessible, or a scenario captured from a report and the caller may not read reports

413

Request body too large

502

The orchestrator could not start the run

503

Draft tests are not configured

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json