---
title: "List Edge Scripts"
method: GET
path: "/compute/script"
tags: ["Edge Script"]
---

# List Edge Scripts

`GET /compute/script`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/compute/script`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-compute-api/docs/compute/script/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `type` EdgeScriptTypes2[], nullable
- `page` integer
- `perPage` integer
- `search` string, nullable
- `includeLinkedPullzones` boolean
- `integrationId` integer, nullable

## Response `200`

The list of scripts on the account.

- PaginationListModelOfEdgeScriptModel
  - `Items` EdgeScriptModel[], nullable
    - `Id` integer
    - `Name` string, nullable
    - `LastModified` string, date-time
    - `ScriptType` 0 | 1 | 2: 0 = DNS 1 = Standalone 2 = Middleware
    - `CurrentReleaseId` integer
    - `EdgeScriptVariables` EdgeScriptVariableModel[], nullable
      - `Id` integer
      - `Name` string, nullable
      - `Required` boolean
      - `DefaultValue` string, nullable
    - `Deleted` boolean
    - `LinkedPullZones` LinkedPullZone[], nullable
      - `Id` integer
      - `PullZoneName` string, nullable
      - `DefaultHostname` string, nullable
    - `Integration` SourceCodeIntegrationModel
      - `IntegrationId` integer
      - `RepositorySettings` SourceCodeRepositorySettingsModel
        - `Id` integer, nullable
        - `Name` string, nullable
        - `Private` boolean
        - `TemplateUrl` string, nullable
      - `DeployConfiguration` DeployConfigurationModel
        - `Branch` string, nullable
        - `InstallCommand` string, nullable
        - `BuildCommand` string, nullable
        - `EntryFile` string, nullable
        - `CreateWorkflow` boolean
    - `DefaultHostname` string, nullable
    - `SystemHostname` string, nullable
    - `DeploymentKey` string, nullable
    - `RepositoryId` integer, nullable
    - `IntegrationId` integer, nullable
    - `MonthlyCost` number
    - `MonthlyRequestCount` integer
    - `MonthlyCpuTime` integer
  - `CurrentPage` integer
  - `TotalItems` integer
  - `HasMoreItems` boolean

## Other responses

- `401`: The request authorization failed
- `500`: Internal Server Error

## Changes

- **2026-11-12** `9b167ce43695`: 2 breaking, 3 info
  - added `#/components/schemas/EdgeScriptTypes` to the `Items/items/ScriptType` response property `oneOf` list for the response status `200`
  - the `Items/items/ScriptType` response's property type changed from `integer` to no type for status `200`
  - removed the `0.00` enum value from the `Items/items/ScriptType` response property for the response status `200`
  - removed the `1.00` enum value from the `Items/items/ScriptType` response property for the response status `200`
  - …1 more
- **2026-08-07** `9b732b27538a`: 2 info
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `AccessKey`
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `bearer`

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-compute-api/changes/compute/script/get.md)

---

[API](https://skmtc.dev/bunny/apis/bunny-net-compute-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-compute-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-compute-api/revisions/9b167ce43695?raw)
