---
title: "Get Script Endpoint"
method: GET
path: "/script"
tags: ["script"]
---

# Get Script Endpoint

`GET /script`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/script`
- Auth: HTTP bearer

Read the project's active script (plain text) + its version list.

Exists primarily for headless/agent clients (the web frontend reads
scripts via the Supabase client under RLS) — e.g. an agent showing the
generated script to its user for review before scanning.

## Query parameters

- `project_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
