v106

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-03812347972.4 KB
job

restart a completed flow at a given step

post/w/{workspace}/jobs/restart/f/{id}

Path parameters

workspacestring required
idstring uuid required

Query parameters

scheduled_forstring date-time

when to schedule this job (leave empty for immediate run)

scheduled_in_secsinteger

schedule the script to execute in the number of seconds starting now

parent_jobstring uuid

The parent job that is at the origin and responsible for the execution of this script if any

tagstring

Override the tag to use

job_idstring uuid

The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)

include_headerstring

List of headers's keys (separated with ',') whove value are added to the args Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key

invisible_to_ownerboolean

make the run invisible to the the flow owner (default false)

Request body

step_idstring required

top-level step id to restart the flow from (or the outermost container when restarting at a nested step)

branch_or_iteration_ninteger

for branchall or loop at the top level, the iteration at which the flow should restart (optional)

flow_versioninteger

specific flow version to use for restart (optional, uses current version if not specified)

Response

job created