---
title: "List Schemas for Kafka Cluster"
method: GET
path: "/v2/databases/{database_cluster_uuid}/schema-registry"
tags: ["DigitalOcean-public.v2-new_Databases"]
---

# List Schemas for Kafka Cluster

`GET /v2/databases/{database_cluster_uuid}/schema-registry`

To list all schemas for a Kafka cluster, send a GET request to
`/v2/databases/$DATABASE_ID/schema-registry`.

## Path parameters

- `database_cluster_uuid` string, uuid, required

## Response `200`

A JSON object with a key of `subjects`.

- object
  - `subjects` KafkaSchemaVerbose[]
    - `schema_id` integer — The id for schema.
    - `subject_name` string — The name of the schema subject.
    - `schema_type` 'AVRO' | 'JSON' | 'PROTOBUF' — The type of the schema.
    - `schema` string — The schema definition in the specified format.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
