Skip to main content
Executions endpoint

Queue workflow execution

POST/execution-runs/

Request body

application/json

See the request guidance below for a valid body.

Runnable SimGrid request​

The first-run tutorial submits akoflow-examples/simulation/execution-request.yaml in a six-request sequence. Follow that order so referenced IDs exist.

Handler-checked behavior​

The daemon runs fresh prerequisite checks before saving a run and publishing its command. Blocking failures return 422. Real requests with advisory or unverified requirements must explicitly set acknowledgeWarnings. Optional preflightId must match the request and remain valid. 202 Accepted returns the queue job: id identifies the job and aggregateId identifies the submitted run. Inspect the run rather than treating job status as scientific completion.

Response shape​

This is the queue job for a new request, not the execution-run record. id identifies the job; aggregateId matches the submitted run.id. Queue status may advance while the daemon works, and optional lease/completion fields appear later. A run is saved only after the worker validates the request.

See the Executions guide for related tasks and context.