Save an agent-authored Raw script into Veilus Flow.

Saves a Raw TypeScript script into Veilus Flow, or replaces one this API saved before. The source is checked against the Raw script contract first; a script stays unapproved until the user approves it in the app.

post/v1/scripts

Request

  • Base URL: http://127.0.0.1:10108
  • URL: http://127.0.0.1:10108/v1/scripts
  • Auth: HTTP bearer

Request body

descriptionstring
namestring required
script_idstring uuid

Script to replace; omit to create a new one

sourcestring required

Full TypeScript source

Response

Saved. An agent-written script stays unapproved until the user approves it.

approvedboolean required
scriptIdstring uuid required
versionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.