# Get a schema by ID. **GET /schemas/ids/{id}** ## Servers - http://localhost:8081: http://localhost:8081 () ## Parameters ### Path parameters - **id** (integer) ### Query parameters - **format** (string) Redpanda version 25.2 or later. For Avro and Protobuf schemas only. Supported values: an empty string `''` returns the schema in its current format (default), and `serialized` (Protobuf only) returns the schema in its Base64-encoded wire binary format. Unsupported values return a 501 error. ## Responses ### 200 OK #### Body: application/json (object) - **schema** (string) - **schemaType** (string) - **references** (array[object]) ### 404 Not Found: Schema not found #### Body: application/json (object) - **error_code** (integer) - **message** (string) ### 500 Internal Server Error #### Body: application/json (object) - **error_code** (integer) - **message** (string) ### 501 Not Implemented: The specified format parameter value is not supported #### Body: application/json (object) - **error_code** (integer) - **message** (string) [Powered by Bump.sh](https://bump.sh)