http://localhost:8082.
POST /engine/execute
Submit a workflow for asynchronous execution. Devset compiles your workflow DSL, queues it internally, and returns arunId immediately. Use that ID with the other /engine/runs endpoints to track progress.
object
required
A compiled workflow definition in Devset’s workflow DSL JSON format. See the Workflow DSL reference for the full schema.
string
UUID that uniquely identifies this execution. Pass it to
/engine/runs/{runId} to poll status or retrieve events.string
Initial lifecycle status of the run. Typically
PENDING immediately after submission.integer
The number of executions requested for this run.
POST /engine/simulate
Simulate a workflow without dispatching any messages to a broker. Devset executes the workflow in-process and returns all events synchronously in a single response. Use this to validate payloads and stage logic before running against a live broker.object
required
A workflow definition in Devset’s workflow DSL JSON format — the same shape accepted by
POST /engine/execute.string
Always
"SIMULATION" for simulated runs.string
Always
"COMPLETED" for a finished simulation.integer
Total number of execution groups in the response.
array
Ordered list of execution groups, each containing the events produced during that iteration.
GET /engine/runs
List all active and completed runs. The response groups runs into two buckets:active for runs that are still in progress and completed for runs that have reached a terminal state.
Response — 200 OK
array
Runs that are in a non-terminal state (
PENDING, RUNNING, or STOPPING).array
Runs that have reached a terminal state (
COMPLETED, FAILED, or STOPPED).GET /engine/runs/
Retrieve the status of a single run by its ID. The response has the same shape as one element in theactive or completed arrays returned by GET /engine/runs.
Path parameters
string
required
The UUID of the run to look up.
GET /engine/runs//events
Fetch all events emitted during a run, grouped by execution index. Each execution group corresponds to one iteration of the workflow. Path parametersstring
required
The UUID of the run whose events you want to retrieve.
string
The UUID of the run.
string
The current status of the run at the time of the request.
integer
Total number of execution groups in the response.
array
Ordered list of execution groups.
Events are available while the run is in progress. You can poll this endpoint during a
RUNNING run to observe events as they are produced.POST /engine/runs//stop
Request a graceful stop for an active run. Devset transitions the run toSTOPPING and allows any in-flight stage to complete before halting. The run status moves to STOPPED once it winds down. The response contains the updated run status at the time the stop was acknowledged.
Path parameters
string
required
The UUID of the run to stop.
GET /engine/runs/{runId} to confirm the run reaches STOPPED status.