---
title: "Get list of all xCluster replication group ids"
method: GET
path: "/xcluster_metrics"
---

# Get list of all xCluster replication group ids

`GET /xcluster_metrics`

Retrieve the list of databases on which restore is run in the YugabyteDB cluster.

## Response `200`

List of all xCluster replication groups

- object
  - `inbound_replication_groups` XClusterInboundGroup[]
    - `replication_group_id` string, required — Unique identifier for the replication group.
    - `state` string, required — The current status of the replication group.
    - `target_cluster_node_ips` string[] — List of target-side node IPs involved in replication.
    - `source_cluster_node_ips` string[] — List of source-side node IPs involved in replication.
    - `source_universe_uuid` string — UUID of the source universe for the replication group.
    - `target_universe_uuid` string — UUID of the target universe for the replication group.
  - `outbound_replication_groups` XClusterOutboundGroup[]
    - `replication_group_id` string, required — Unique identifier for the replication group.
    - `state` string, required — The current status of the replication group (e.g., 'active', 'inactive').
    - `replication_cluster_node_ips` string[] — The list of IP addresses of the nodes involved in the replication.
    - `source_universe_uuid` string — UUID of the source universe for the replication group.
    - `target_universe_uuid` string, required — UUID of the target universe for the replication group.
    - `tables_list_with_lag` TableReplicationLagDetailsOutbound[] — List of namespaces from outbound and lag of each table
      - `namespace` string — Namespace to which the current table belongs.
      - `table_uuid` string, required — Unique identifier for the table.
      - `table_name` string, required — Name of the table.
      - `is_checkpointing` boolean, required — Indicates whether the table is currently checkpointing.
      - `is_part_of_initial_bootstrap` boolean, required — Indicates whether the table is part of the initial bootstrap process.
      - `async_replication_sent_lag_micros` integer, required — The lag time in microseconds for sent replication data.
      - `async_replication_committed_lag_micros` integer, required — The lag time in microseconds for committed replication data.

## Other responses

- `400` — API Error
- `500` — API Error

---

[API](https://skmtc.net/yugabyte/apis/yugabyte-cloud.md) · [All operations](https://skmtc.net/yugabyte/apis/yugabyte-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yugabyte/yugabyte-cloud/versions/a851ee3a0a88/schema)
