job
run flow by version and stream updates via SSE
post/w/{workspace}/jobs/run_and_stream/fv/{version}
Path parameters
workspacestring required
versioninteger required
flow version ID
Query parameters
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
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)
skip_preprocessorboolean
skip the preprocessor
memory_idstring uuid
memory ID for chat-enabled flows
poll_delay_msinteger
delay between polling for job updates in milliseconds
Request body
ScriptArgs required
The arguments to pass to the script or flow
Response
server-sent events stream of job updates