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

List shadow topic status information for a specific shadow link. Optional: filter based on topic name.

Path parameters

Query parameters

  • filter.topic_name_contains string

    Substring match on shadow topic name. Case-sensitive.

  • page_size integer(int32)

    Limit the paginated response to a number of items. Defaults to 100. Use -1 to disable pagination.

  • page_token string

    Value of the next_page_token field returned by the previous response. If not provided, the system assumes the first page is requested.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • next_page_token string
    • shadow_topics array[object]
      Hide shadow_topics attributes Show shadow_topics 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
curl \
 --request GET 'https://{dataplane_api_subdomain}.cloud.redpanda.com/v1/shadow-links/{shadow_link_name}/topic' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "next_page_token": "string",
  "shadow_topics": [
    {
      "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"
}