---
title: "replicas list"
description: "List read replicas"
canonical: "https://pgbeam.com/docs/cli/projects/replicas/list"
last-updated: "2026-10-29T19:01:20.000Z"
---

# replicas list

> List read replicas

URL: https://pgbeam.com/docs/cli/projects/replicas/list

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

List all read replicas configured for a database. Shows each replica's ID, host, port, and SSL mode.

## Usage

```bash
pgbeam replicas list [flags]
```

## Options

| Option                  | Description                               | Required | Default |
| ----------------------- | ----------------------------------------- | -------- | ------- |
| `--database-id <value>` | ID of the database whose replicas to list | Yes      | -       |

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# List replicas for a database
pgbeam replicas list --database-id db_xxx

# List replicas as JSON
pgbeam replicas list --database-id db_xxx --json
```

## Output

Displays a table with columns: ID, Host, Port, and SSL. With `--json`, returns the full replica list from the API.