---
title: "Get schema by ID"
method: GET
path: "/schemas/ids/{id}/schema"
tags: ["Schemas (v1)"]
---

# Get schema by ID

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

Retrieves the schema identified by the input ID.

## Path parameters

- `id` integer, required

## Query parameters

- `subject` string
- `format` string

## Response `200`

Raw schema string.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found. Error code 40403 indicates schema not found.
- `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)
