Script Runs

Launch a durable script workflow run

Changed on

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

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/script-runs
  • Auth
    HTTP bearer

Request body

sourcestring required
argsunknown
backgroundboolean
idempotencyKeystring
scriptNamestring
requestedByUserIdstring

Response

Script run created

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

Changes

    • info

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

    • info

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

    • info

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

    • info

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

    • info

      endpoint added