---
title: "List an extension's versions"
method: GET
path: "/v1/extensions/{id}/versions"
tags: ["Extensions"]
---

# List an extension's versions

`GET /v1/extensions/{id}/versions`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/extensions/{id}/versions`
- Auth: API key in header `x-api-key`

Returns summaries of an extension's published versions, newest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. Read a version's manifest with `GET /v1/extensions/{id}/versions/{versionId}`.

## Path parameters

- `id` string, required: The extension's id (`ext_…`) or its name.

## Query parameters

- `limit` string, nullable
- `cursor` string

## Response `200`

ExtensionVersionPage

- ExtensionVersionPage
  - `items` ExtensionVersionSummary[], required
    - `id` string, required
    - `version` string, required
    - `runtime` 'hosted' | 'webhook', required
    - `bundle` ExtensionBundle, required
      - `sha256` string, required
      - `sizeBytes` integer, required
    - `publishedAt` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

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