GET /v1/shadow-links/{shadow_link_name}/topic/{topic_name}

Retrieve details of a specific shadow topic within a shadow link.

Path parameters

  • topic_name string Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • shadow_topic object
      Hide shadow_topic attributes Show shadow_topic attributes object
      • partitions array[object]
        Hide partitions attributes Show partitions attributes object
        • high_watermark string(int64)
        • partition_id string(int64)
        • source_high_watermark string(int64)
        • source_last_stable_offset string(int64)
        • source_last_updated_timestamp string(date-time)
      • state string
        • SHADOW_TOPIC_STATE_ACTIVE: Shadow topic is active
          • SHADOW_TOPIC_STATE_FAULTED: Shadow topic has faulted
          • SHADOW_TOPIC_STATE_PAUSED: Shadow topic has been paused
          • SHADOW_TOPIC_STATE_FAILING_OVER: Shadow topic is in the process of failing over
          • SHADOW_TOPIC_STATE_FAILED_OVER: Shadow topic has failed over successfully
          • SHADOW_TOPIC_STATE_PROMOTING: Shadow topic is in the process of being promoted
          • SHADOW_TOPIC_STATE_PROMOTED: Shadow topic is promoted successfully

        Values are SHADOW_TOPIC_STATE_ACTIVE, SHADOW_TOPIC_STATE_FAULTED, SHADOW_TOPIC_STATE_PAUSED, SHADOW_TOPIC_STATE_FAILING_OVER, SHADOW_TOPIC_STATE_FAILED_OVER, SHADOW_TOPIC_STATE_PROMOTING, or SHADOW_TOPIC_STATE_PROMOTED.

      • topic_id string
      • topic_name string
      • total_lag string(int64)
      • total_partitions integer(int32)
  • 401 application/json

    Unauthenticated.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • default application/json

    An unexpected error response.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

GET /v1/shadow-links/{shadow_link_name}/topic/{topic_name}
curl \
 --request GET 'https://{dataplane_api_subdomain}.cloud.redpanda.com/v1/shadow-links/{shadow_link_name}/topic/{topic_name}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "shadow_topic": {
    "partitions": [
      {
        "high_watermark": "string",
        "partition_id": "string",
        "source_high_watermark": "string",
        "source_last_stable_offset": "string",
        "source_last_updated_timestamp": "2025-05-04T09:42:00Z"
      }
    ],
    "state": "SHADOW_TOPIC_STATE_ACTIVE",
    "topic_id": "string",
    "topic_name": "string",
    "total_lag": "string",
    "total_partitions": 42
  }
}
Response examples (401)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (default)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}