---
title: "Get script by ID"
method: GET
path: "/v1/scripts/{script_id}"
tags: ["Scripts"]
---

# Get script by ID

`GET /v1/scripts/{script_id}`

Retrieves a specific script by its ID

## Path parameters

- `script_id` string, required — The unique identifier of the script

## Headers

- `x-api-key` string, nullable — Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

## Response `200`

Successful Response

- Script
  - `script_revision_id` string, required — Unique identifier for this specific script revision
  - `script_id` string, required — User-facing script identifier, consistent across versions
  - `organization_id` string, required — ID of the organization that owns this script
  - `run_id` string, nullable — ID of the workflow run or task run that generated this script
  - `version` integer, required — Version number of the script
  - `created_at` string, date-time, required — Timestamp when the script was created
  - `modified_at` string, date-time, required — Timestamp when the script was last modified
  - `deleted_at` string, date-time, nullable — Timestamp when the script was soft deleted

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/skyvern-ai/apis/skyvern-api-2.md) · [All operations](https://skmtc.net/skyvern-ai/apis/skyvern-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skyvern-ai/skyvern-api-2/versions/29562c6e0364/schema)
