---
title: "GET /subjects/{subject}/versions/{version}/schema"
method: GET
path: "/subjects/{subject}/versions/{version}/schema"
tags: ["Subjects"]
---

# GET /subjects/{subject}/versions/{version}/schema

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

## Request

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

## Path parameters

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

## Query parameters

- `format` string
- `deleted` boolean

## Headers

- `X-Registry-GroupId` string

## Response `200`

The raw, unescaped schema string.

- string

## Other responses

- `404`: Error returned by the Schema Registry API
- `422`: 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)
