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

# List saved scripts

`GET /api/scripts`

Dashboard read: lean projection without source. Scratch scripts are excluded unless includeScratch=true.

## Query parameters

- `scope` 'global' | 'agent'
- `includeScratch` 'true' | 'false'

## Response `200`

Saved scripts

## Other responses

- `400` — Validation error

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/92a1dcbd2fc7/schema)
