---
title: "Get Schema By Id"
method: GET
path: "/schema-registry/schemas/{schema_id}"
tags: ["Schema Registry"]
---

# Get Schema By Id

`GET /schema-registry/schemas/{schema_id}`

Get a schema by its global ID.

## Path parameters

- `schema_id` integer, required

## Response `200`

Successful Response

- SchemaDetail — Complete schema information.
  - `subject` string, nullable — Schema subject name
  - `version` integer, nullable — Schema version
  - `id` integer, required — Global schema ID
  - `schema_type` string — Schema type (AVRO, JSON, PROTOBUF)
  - `schema` string, required — Schema definition string
  - `references` object[], nullable — Schema references

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/streamkap/apis/streamkap-rest-api.md) · [All operations](https://skmtc.net/streamkap/apis/streamkap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamkap/streamkap-rest-api/revisions/8aea6143d003/schema)
