Runs
List a workflow's runs
Returns the runs started from one workflow, each with its status, start time, duration, what triggered it and the reason it ended where one applies. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.
Start a run
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.
Cancel a run
Asks the platform to stop a run that is still pending, starting or running. Cancellation is accepted at once and takes effect as its tasks wind down, so poll the run to see it reach a terminal state. A run that is finishing or has ended cannot be cancelled.
Read a run
Returns the run's status, when it started, how long it has been going or took, what triggered it and the reason it ended where one applies. billedMinutes is the time its workflow storage is billed for, in whole minutes, once its billing is final; it is null until then. The run's workspace size sets the price of each minute, as a compute type does for a task.
Delete a run
Removes a finished run and its record from the workflow's history.
Follow a run's state as it changes
Opens a server-sent event stream that emits the run's state as its tasks progress, so a caller can follow a run without polling. The stream stays open until the run reaches a terminal state or the connection is closed.