job

run script by hash

post/w/{workspace}/jobs/run/h/{hash}

Path parameters

workspacestring required
hashstring 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

skip_preprocessorboolean

skip the preprocessor

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

invisible_to_ownerboolean

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

Request body

object required

Response

job created

Changes

No recorded changes to this endpoint across all 178 revisions of this API.