Skip to main content

Start a run

POST 

/api/:accountName/projects/:projectName/workflows/:workflowId/runs/start

Starts one execution of the workflow with the input values supplied. An input the definition marks required may be left out only when it declares a non-blank default, which the run then uses, and when supplied it must not be empty or only whitespace. The run is accepted and its identifier is returned at once, before its tasks begin. A run can only be started while the account's billing is in good standing and while the account has fewer runs in progress than its limit, which its billing threshold sets within a limit the platform sets for every account; a start beyond that limit is refused with an error naming it. A start is also refused when the workflow uses a compute type the platform does not offer, including one it stopped offering after the workflow was imported, with an error naming the type, or needs more tasks running at the same time than the account may run, with an error naming the numbers: in total, a limit its billing threshold sets, or of one compute type, the account's share of it. A start is refused as well when any of the workflow's tasks uses a task definition that is no longer available to the account, because the version it uses or its whole task definition was deleted, or another account made it private, with an error naming each such task.

Request​

Responses​

The run was accepted and its identifier returned.