# pydo.databases.get\_kafka\_topic() Generated on 23 Mar 2026 from `pydo` version [`v0.28.0`](https://github.com/digitalocean/pydo/releases/tag/v0.28.0) ## Description To retrieve a given topic by name from the set of a Kafka cluster’s topics, send a GET request to `/v2/databases/$DATABASE_ID/topics/$TOPIC_NAME`. The result will be a JSON object with a `topic` key. ## Parameters | Name | Type | Required | Description | Default Value | |---|---|---|---|---| | `database_cluster_uuid` | string | True | A unique identifier for a database cluster. | | | `topic_name` | string | True | The name used to identify the Kafka topic. | | ## More Information See [the API spec for this endpoint](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_get_kafka_topic) to view additional detail on responses, headers, parameters, and more.