---
title: "List scripts"
method: GET
path: "/scripts"
tags: ["Scripts"]
---

# List scripts

`GET /scripts`

List durable bash scripts stored for a project.

## Query parameters

- `projectId` string, uuid — Project to list scripts for. Auto-filled from CLI and SDK context when omitted.
- `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.

## Response `200`

OK

- object
  - `scripts` object[], required
    - `id` string, uuid, required
    - `projectId` string, uuid, required
    - `name` string, required
    - `description` string, nullable, required
    - `contentHash` string, required — sha256 hex digest of the script content.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `nextCursor` string, nullable, required — Pass as 'cursor' to fetch the next page. Null when there are no more results.

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) · [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sazabi/sazabi-public-api/revisions/1d12b71c735a/schema)
