Scripts
Run a reusable or inline script
Changed onInline source skips typecheck and is auto-saved as a scratch script only on success.
post/api/scripts/run
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/api/scripts/run
- AuthHTTP bearer
Headers
X-Runtime-Instance-IDstring
Identifies the concrete runtime instance (worker process) making the call, as generated at its boot. Required to acquire work through the script SDK when multi-runtime mode (MULTI_RUNTIME_ENABLED) is on; ignored otherwise.
Request body
Response
Script run completed
Changes
- info
added the new optional request property
- info
- warning
added the new
capacity_exceededenum value to theresponse property for the response status
- warning