Scripts

Create a script

Create a durable bash script for a project.

post/scripts

Request body

projectIdstring uuid

Project that owns the script. Auto-filled from CLI and SDK context when omitted.

namestring required

Script name. Must be unique within the project among non-deleted scripts.

contentstring required

Bash script body materialized as /home/sazabi/scripts/<name>.sh in the sandbox.

descriptionstring nullable

Optional human-readable description.

Response

OK

Changes

No recorded changes to this endpoint across all 4 revisions of this API.