v106

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

run script by hash with GET and stream updates via SSE

get/w/{workspace}/jobs/run_and_stream/h/{hash}

Path parameters

workspacestring required
hashstring required

Query parameters

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

cache_ttlstring

Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl

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

queue_limitstring

The maximum size of the queue for which the request would get rejected if that job would push it above that limit

payloadstring

The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent encodeURIComponent(btoa(JSON.stringify({a: 2})))

skip_preprocessorboolean

skip the preprocessor

poll_delay_msinteger

delay between polling for job updates in milliseconds

Response

server-sent events stream of job updates