---
title: "Get Topic"
method: GET
path: "/clusters/{cluster_id}/topics/{topic_name}"
tags: ["Topic"]
---

# Get Topic

`GET /clusters/{cluster_id}/topics/{topic_name}`

Returns the topic with the given `topic_name`.

## Response `200`

The topic.

- TopicData
  - `kind` string, required
  - `metadata` ResourceMetadata, required
    - `self` string, required
    - `resource_name` string, nullable
  - `cluster_id` string, required
  - `topic_name` string, required
  - `is_internal` boolean, required
  - `replication_factor` integer, required
  - `partitions_count` integer, required
  - `partitions` Relationship, required
    - `related` string, required
  - `configs` Relationship, required
    - `related` string, required
  - `partition_reassignments` Relationship, required
    - `related` string, required

## Changes

- **2022-03-22** (v3) `fb570c3144de` — 1 info
  - added the required property `allOf[subschema #2]/partitions_count` to the response with the `200` status
- **2022-03-22** (v3) `0b87d328c664` — 1 breaking, 7 info
  - removed the required property `allOf[subschema #2]/partitions_count` from the response with the `200` status
  - api operation id `getKafkaV3Topic` removed and replaced with ``
  - api tag `Topic` added
  - api tag `Topic (v3)` removed
  - …4 more
- **2022-01-18** (v3) `242a6e383b71` — 7 info
  - api operation id `getKafkaV3Topic` was added
  - api tag `Topic (v3)` added
  - api tag `Topic` removed
  - added the non-success response with the status `400`
  - …3 more
- **2022-01-18** (v3) `fbdd72178c66` — 7 info
  - api operation id `getKafkaV3Topic` removed and replaced with ``
  - api tag `Topic` added
  - api tag `Topic (v3)` removed
  - removed the non-success response with the status `400`
  - …3 more
- **2021-09-08** (v3) `2d4f120a2079` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`

[Full history](https://skmtc.dev/confluentinc/apis/rest-admin-api/changes/clusters/:cluster_id/topics/:topic_name/get.md)

---

[API](https://skmtc.dev/confluentinc/apis/rest-admin-api.md) · [All operations](https://skmtc.dev/confluentinc/apis/rest-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/confluentinc/rest-admin-api/revisions/56caffc0859c/schema)
