v56

OpenAPI 3.1.0raw.githubusercontent.com2026-08-043240557.2 KB
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