Script Runs

Launch a durable script workflow run

Foundation endpoint for Script Workflows v1. In PR 1 it persists the run and returns its dashboard URL; spawning is added by the supervisor PR.

post/api/script-runs

Request body

sourcestring required
{"stackTrail":"paths:/api/script-runs:post:requestBody:content:application/json:schema:properties:args","oasType":"schema","type":"unknown"}
backgroundboolean
idempotencyKeystring
scriptNamestring
requestedByUserIdstring

Response

Script run created

idstring uuid required
status'running' | 'paused' | 'completed' | 'failed' | 'cancelled' | 'aborted_limit' required
urlstring required

Changes

Changed in 1 of the 104 revisions of this API.4

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added