v106

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

import completed jobs from backup/migration

post/w/{workspace}/jobs/completed/import

Path parameters

workspacestring required

Request body

idstring uuid required
parent_jobstring uuid
created_bystring required
created_atstring date-time required
started_atstring date-time
completed_atstring date-time
duration_msinteger
script_pathstring
script_hashstring
argsobject

Full job arguments without size restrictions

resultobject

Full job result without size restrictions

logsstring

Complete job logs from v2_job table

raw_codestring
raw_lockstring
canceled_bystring
canceled_reasonstring
job_kind'script' | 'preview' | 'dependencies' | 'flow' | 'flowdependencies' | 'appdependencies' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlestepflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent' | 'unassigned_script' | 'unassigned_flow' | 'unassigned_singlestepflow' required
triggerstring

Trigger path for the job (replaces schedule_path)

trigger_kind'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'schedule' | 'app' | 'ui' | 'postgres' | 'sqs' | 'gcp'
permissioned_asstring required
permissioned_as_emailstring
flow_statusobject

Flow status from v2_job_status table

workflow_as_code_statusobject
raw_flowobject
is_flow_stepboolean
language'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative' | 'dbt'
is_skippedboolean
emailstring required
visible_to_ownerboolean required
mem_peakinteger
tagstring
priorityinteger
labelsstring[]
same_workerboolean
flow_step_idstring
flow_innermost_root_jobstring uuid
concurrent_limitinteger
concurrency_time_window_sinteger
timeoutinteger
cache_ttlinteger
self_wait_time_msinteger
aggregate_wait_time_msinteger
preprocessedboolean
workerstring
statusstring

Actual job status from database

Response

Successfully imported completed jobs