---
title: "Get schema by version"
method: GET
path: "/subjects/{subject}/versions/{version}"
tags: ["Subjects (v1)"]
---

# Get schema by version

`GET /subjects/{subject}/versions/{version}`

Retrieves a specific version of the schema registered under this subject.

## Path parameters

- `subject` string, required
- `version` string, required

## Query parameters

- `format` string
- `deleted` boolean

## Response `200`

The schema.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found. Error code 40401 indicates subject not found. Error code 40402 indicates version not found.
- `422` — Unprocessable Entity. Error code 42202 indicates an invalid version.
- `429` — Rate Limit Exceeded
- `500` — Internal Server Error. Error code 50001 indicates a failure in the backend data store.

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/confluent/confluent-cloud-apis/revisions/a6a73f98a698/schema)
