v106

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

run script preview and wait for result

post/w/{workspace}/jobs/run_wait_result/preview

Path parameters

workspacestring required

Request body

contentstring

The code to run

pathstring

The path to the script

script_hashstring

The hash of the script

argsScriptArgs required

The arguments to pass to the script or flow

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'
tagstring
kind'code' | 'identity' | 'http'
dedicated_workerboolean
lockstring
flow_pathstring
modulesobject nullable

Additional script modules keyed by relative file path

temp_script_refsobject nullable

Map of relative-import script path -> temp storage hash so the preview job resolves those imports from not-yet-deployed local content instead of the deployed script

Response

job result

{"stackTrail":"paths:/w/{workspace}/jobs/run_wait_result/preview:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}