---
title: "Get Releases"
method: GET
path: "/compute/script/{id}/releases"
tags: ["Release"]
---

# Get Releases

`GET /compute/script/{id}/releases`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/compute/script/{id}/releases`
- 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/:id/releases/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Query parameters

- `page` integer
- `perPage` integer

## Response `200`

Published releases of the script with the requested ID

- PaginationListModelOfEdgeScriptReleaseModel
  - `Items` EdgeScriptReleaseModel[], nullable
    - `Id` integer
    - `Deleted` boolean
    - `Code` string, nullable
    - `Uuid` string, nullable
    - `Note` string, nullable
    - `Author` string, nullable
    - `AuthorEmail` string, nullable
    - `CommitSha` string, nullable
    - `Status` 0 | 1: 0 = Archived 1 = Live
    - `DateReleased` string, date-time
    - `DatePublished` string, date-time
  - `CurrentPage` integer
  - `TotalItems` integer
  - `HasMoreItems` boolean

## Other responses

- `401`: The request authorization failed
- `404`: The script with the requested ID does not exist.
- `500`: Internal Server Error

## Changes

- **2026-11-12** `9b167ce43695`: 2 breaking, 2 info
  - added `#/components/schemas/EdgeScriptReleaseStatus` to the `Items/items/Status` response property `oneOf` list for the response status `200`
  - the `Items/items/Status` response's property type changed from `integer` to no type for status `200`
  - removed the `0.00` enum value from the `Items/items/Status` response property for the response status `200`
  - removed the `1.00` enum value from the `Items/items/Status` response property for the response status `200`
- **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/:id/releases/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)
