> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamnative.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Return the topic with the given topic_name.

> Retrieves detailed information about a specific topic identified by its name. Returns topic metadata including configuration, partition details, and replication settings.



## OpenAPI

````yaml get /admin/v1/topics/{topicName}
openapi: 3.0.0
info:
  title: StreamNative Kafka REST API
  description: >-
    REST API for managing Kafka resources and producing/consuming messages in
    StreamNative Cloud
  version: v1
servers: []
security: []
paths:
  /admin/v1/topics/{topicName}:
    get:
      tags:
        - ksn-topics
      summary: Return the topic with the given topic_name.
      description: >-
        Retrieves detailed information about a specific topic identified by its
        name. Returns topic metadata including configuration, partition details,
        and replication settings.
      operationId: getTopic
      parameters:
        - name: topicName
          in: path
          description: The topic name.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The topic with the given topic_name.
        '400':
          description: Wrong request params
        '401':
          description: Unauthorized
        '500':
          description: Internal server error

````