---
title: "GET /schemas/ids/{id}/versions"
method: GET
path: "/schemas/ids/{id}/versions"
tags: ["Schemas"]
---

# GET /schemas/ids/{id}/versions

`GET /schemas/ids/{id}/versions`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` integer, required

## Query parameters

- `deleted` boolean

## Response `200`

List of subject-version pairs where the schema is registered.

- SubjectVersion[]
  - `subject` string, required: The name of the subject.
  - `version` integer, required: The version number of the schema under the subject.

## Other responses

- `404`: Error returned by the Schema Registry API
- `500`: Error returned by the Schema Registry API

---

[API](https://skmtc.dev/apicurio/apis/apicurio-registry-confluent-compatibility-api.md) - [All operations](https://skmtc.dev/apicurio/apis/apicurio-registry-confluent-compatibility-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apicurio/apis/apicurio-registry-confluent-compatibility-api/revisions/a2f9ca447c9b?raw)
