job
run script preview
Changed onpost/w/{workspace}/jobs/run/preview
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/w/{workspace}/jobs/run/preview
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
workspacestring required
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
invisible_to_ownerboolean
make the run invisible to the the script owner (default false)
timeoutinteger
custom timeout in seconds for this preview run
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)
Request body
Response
job created
Changes
- info
added the new
dbtenum value to the request property - info
added the new
dbtenum value to the request property//
- info
- info
added the new optional
queryrequest parametertimeout
- info