Couchbase Replication Statistics API

Endpoints for monitoring replication progress and performance statistics.

Operations 1

GET /pools/default/buckets/{bucketName}/stats/{statName} Get XDCR replication statistics #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/couchbase-replication-statistics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

couchbase-replication-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Couchbase XDCR REST Replication Statistics API
  description: The Couchbase XDCR (Cross Data Center Replication) REST API enables configuration and management of data replication between Couchbase clusters across different data centers. It provides endpoints for creating replication references, configuring replication streams, monitoring replication statistics, and managing replication settings. XDCR supports both unidirectional and bidirectional replication for high availability and disaster recovery scenarios.
  version: '7.6'
  contact:
    name: Couchbase Support
    url: https://support.couchbase.com
  termsOfService: https://www.couchbase.com/terms-of-use
servers:
- url: https://localhost:8091
  description: Couchbase Server (default port)
- url: https://localhost:18091
  description: Couchbase Server (SSL)
security:
- basicAuth: []
tags:
- name: Replication Statistics
  description: Endpoints for monitoring replication progress and performance statistics.
paths:
  /pools/default/buckets/{bucketName}/stats/{statName}:
    get:
      operationId: getReplicationStats
      summary: Get XDCR replication statistics
      description: Returns statistics for XDCR replications on a specific bucket, including items replicated, replication latency, and bandwidth usage.
      tags:
      - Replication Statistics
      parameters:
      - name: bucketName
        in: path
        required: true
        description: The name of the source bucket
        schema:
          type: string
      - name: statName
        in: path
        required: true
        description: The specific statistic to retrieve (e.g., replications/{replicationId}/docs_written)
        schema:
          type: string
      responses:
        '200':
          description: Successful retrieval of replication statistics
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Unauthorized access
        '404':
          description: Bucket or statistic not found
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication using Couchbase Server administrator credentials.
externalDocs:
  description: Couchbase XDCR REST API Documentation
  url: https://docs.couchbase.com/server/current/rest-api/rest-xdcr-intro.html