---
title: "List replications for a given project"
method: GET
path: "/v4/organizations/{organizationId}/projects/{projectId}/replications"
tags: ["Replications"]
---

# List replications for a given project

`GET /v4/organizations/{organizationId}/projects/{projectId}/replications`

## Request

- Base URL: `https://cloudapi.cloud.couchbase.com`
- URL: `https://cloudapi.cloud.couchbase.com/v4/organizations/{organizationId}/projects/{projectId}/replications`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/docs/v4/organizations/:organizationId/projects/:projectId/replications/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a paginated list of replications for the specified project. 

In order to access this endpoint, the provided API key must have at least one of the following roles:
- Organization Owner
- Project Owner

To learn more, see [Organization, Project, and Database Access Overview](https://docs.couchbase.com/cloud/organizations/organization-projects-overview.html).

## Path parameters

- `organizationId` string, uuid, required
- `projectId` string, uuid, required

## Query parameters

- `page` integer
- `perPage` integer
- `sortBy` string[]
- `sortDirection` 'asc' | 'desc'

## Response `200`

List of replications for the project.

- ListProjectReplicationsResponse
  - `data` ReplicationSummary[], required
    - `id` string, required: The ID of the specified replication.
    - `sourceCluster` string, required: The name of the source cluster.
    - `targetCluster` string, required: The name of the target cluster.
    - `status` 'pending' | 'pausing' | 'failed' | 'paused' | 'running', required: The status of the replication.
    - `direction` 'oneWay' | 'twoWay': Direction specifies the replication flow — whether it's oneWay (source to target only) or twoWay (also from target back to source).
    - `audit` ReplicationAuditData, required
      - `createdBy` string, required: The user who created the replication; this will be a UUID4 ID for standard users and will be a string such as "internal-support" for internal Couchbase support users.
      - `createdAt` string, date-time, required: The RFC3339 timestamp associated with when the replication was initially created.
  - `cursor` Cursor, required
    - `pages` Pages, required
      - `page` integer, required: Current page of results, starting from page 1.
      - `next` integer: Number of the next page of results. Not set on the last page.
      - `previous` integer: Number of the previous page of results. Not set on the first page.
      - `last` integer, required: Number of the last page of results.
      - `perPage` integer, required: Number of items displayed in each page.
      - `totalItems` integer, required: Total items found by the given query.
    - `hrefs` Hrefs, required
      - `first` string, uri, required: The base URL, endpoint, and path parameters required to fetch the first page of results.
      - `last` string, uri, required: The base URL, endpoint, and path parameters required to fetch the last page of results.
      - `previous` string, uri, required: The base URL, endpoint, and path parameters required to fetch the previous page of results. Empty if there is no previous page.
      - `next` string, uri, required: The base URL, endpoint, and path parameters required to fetch the next page of results. Empty if there is no next page.

## Other responses

- `403`: The client does not have the necessary permissions to access this resource.
- `404`: The requested resource was not found.
- `429`: Returned when the client exceeds the rate limit for the given APIKey.
- `500`: An unexpected error occurred in the server while processing this request.

---

[API](https://skmtc.dev/couchbase/apis/couchbase-capella-management-api.md) - [All operations](https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/revisions/a5e88bcf71cb?raw)
