---
title: "Get Script Info"
method: GET
path: "/api/v3/meta/bases/{baseId}/scripts/{scriptId}"
tags: ["Scripts"]
---

# Get Script Info

`GET /api/v3/meta/bases/{baseId}/scripts/{scriptId}`

## Request

- Base URL: `https://app.nocodb.com`
- URL: `https://app.nocodb.com/api/v3/meta/bases/{baseId}/scripts/{scriptId}`
- Auth: one of:
  - API key in header `xc-token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/nocodb/apis/nocodb-v3/docs/api/v3/meta/bases/:baseId/scripts/:scriptId/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the details of a specific script.

**Note**: Script APIs are available on cloud-hosted **Enterprise** plans, and on licensed self-hosted deployments (**Business** plan and above).

## Path parameters

- `scriptId` string, required
- `baseId` string, required

## Response `200`

Script retrieved.

- ScriptGetResponse: Script with additional info
  - `id` string, required: Unique identifier for the script
  - `title` string, required: Title of the script.
  - `description` string, nullable: Description of the script.
  - `script` string, required: Script content.
  - `config` object: Configuration for the script.
  - `meta` object: Metadata of the script.
  - `base_id` string, required: Unique identifier for the base
  - `workspace_id` string, required: Unique identifier for the workspace
  - `created_at` string, date-time, required: Timestamp when the script was created
  - `updated_at` string, date-time, required: Timestamp when the script was last updated

## Other responses

- `403`: Authenticated, but not allowed: the role is too low, the token scope does not cover the operation, or the plan does not include the feature or allows no more of this resource.
- `422`: The request was well formed but could not be acted on — most commonly a referenced base, table, field, view, script, dashboard, widget or workflow does not exist.
- `500`: Unexpected server error. The body carries `message` only — no `error` code.

---

[API](https://skmtc.dev/nocodb/apis/nocodb-v3.md) - [All operations](https://skmtc.dev/nocodb/apis/nocodb-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/nocodb/apis/nocodb-v3/revisions/62a735aaf849?raw)
