---
title: dots.v2.databases.byDatabase_cluster_uuid().schemaRegistry.config.bySubject_name().get()
description: Retrieve Schema Registry Configuration for a Subject of kafka Cluster
product: Reference
url: https://docs.digitalocean.com/reference/dots/reference/databases/databases-get-kafka-schema-subject-config/
last_updated: "2026-11-24"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# dots.v2.databases.byDatabase_cluster_uuid().schemaRegistry.config.bySubject_name().get()

Generated on 24 Nov 2026 from DoTs version [`v1.26.0`](https://github.com/digitalocean/dots/releases/tag/v1.26.0)

## Usage

```typescript
client.v2.databases.byDatabase_cluster_uuid(database_cluster_uuid).schemaRegistry.config.bySubject_name(subject_name).get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithSubject_nameGetResponse>
```

## Description

To retrieve the Schema Registry configuration for a Subject of a Kafka cluster, send a GET request to [`/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}`](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_get_kafka_schema_subject_config). The response is a JSON object with a `compatibility_level` key, which is set to an object containing any database configuration parameters.

## Parameters

`database_cluster_uuid` string required

Example: `9cc10173-e9ea-4176-9dbc-a4cee4c4ff30`

A unique identifier for a database cluster.

`subject_name` string required

Example: `customer-schema`

The name of the Kafka schema subject.

## Request Sample

## Show Request Sample

```typescript
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.databases
    .byDatabase_cluster_uuid("9cc10173-e9ea-4176-9dbc-a4cee4c4ff30").schemaRegistry.config
    .bySubject_name("customer-schema").get();
```

## Response Example

## Show Response Example

```json
{
  "subject_name": "my-schema-subject",
  "compatibility_level": "BACKWARD"
}
```

## More Information

See [`/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}`](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_get_kafka_schema_subject_config) in the API reference for additional detail on responses, headers, parameters, and more.