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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid request, or a draft graph that does not decode
401Not authenticated
403The caller lacks abilities the graph needs (code missing_abilities; missing_abilities lists them)
404Proposal or scenario missing or inaccessible, or a scenario captured from a report and the caller may not read reports
413Request body too large
502The orchestrator could not start the run
503Draft tests are not configured