---
title: "Get active replicas"
method: GET
path: "/api/v2/replicas"
tags: ["Enterprise"]
---

# Get active replicas

`GET /api/v2/replicas`

## Response `200`

OK

- CodersdkReplica[]
  - `created_at` string, date-time — CreatedAt is the timestamp when the replica was first seen.
  - `database_latency` integer — DatabaseLatency is the latency in microseconds to the database.
  - `error` string — Error is the replica error.
  - `hostname` string — Hostname is the hostname of the replica.
  - `id` string, uuid — ID is the unique identifier for the replica.
  - `region_id` integer — RegionID is the region of the replica.
  - `relay_address` string — RelayAddress is the accessible address to relay DERP connections.

---

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