Sazabi
APIScripts

List scripts

GET
/scripts

List durable bash scripts stored for a project.

Query Parameters

projectId?string

Project to list scripts for. Auto-filled from CLI and SDK context when omitted.

Formatuuid
search?string

Case-insensitive partial match on script name.

cursor?string

Cursor from a previous response's nextCursor to fetch the next page.

limit?integer

Maximum number of scripts to return per page.

Range1 <= value <= 100
Default50

Response Body

application/json

curl -X GET "https://example.com/scripts"
{  "scripts": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "name": "string",      "description": "string",      "contentHash": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}