---
title: "List all version numbers for schema"
method: GET
path: "/v1beta1/namespaces/{namespaceId}/schemas/{schemaId}/versions"
tags: ["schema", "version"]
---

# List all version numbers for schema

`GET /v1beta1/namespaces/{namespaceId}/schemas/{schemaId}/versions`

## Path parameters

- `namespaceId` string, required
- `schemaId` string, required

## Response `200`

A successful response.

- V1beta1ListVersionsResponse
  - `versions` integer[]

## Other responses

- `default` — An unexpected error response.

## Changes

- **2022-04-22** `3d2313d120b7` — 1 info
  - endpoint added
- **2022-01-28** `df08eaea7077` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto/changes/v1beta1/namespaces/:namespaceId/schemas/:schemaId/versions/get.md)

---

[API](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto.md) · [All operations](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/raystack/raystack-stencil-v1beta1-stencil-proto/revisions/d1b228ba05f0/schema)
