Redrive, rewind or cancel many runs
Authenticate with an operator token or an app API key or a signed-in Foliot Console session.
Applies one action to every run matching filter. Send dryRun: true first — it answers 200 with just a count, so the blast radius is visible before committing. Submitting for real answers 202 with a job row to poll. The two branches return different statuses and different bodies.
Path parameters
stringThe app's name.
Request body
"redrive" | "rewind" | "cancel"What to do to every matching run.
booleanAnswer with just a count, and start nothing.
default false
objectstringredrive only: restart from this step rather than where the run failed.
stringRecorded on every run this touches.
max length 1000
stringrewind only, and required: the step to rewind to.
integer (int64)rewind only: the workflow version to rewind onto.
min 1 · max 2147483647
Responses
object
A dry run: the count the filter matches, and nothing started.
object
Accepted