Couchbase Analytics Admin API

Endpoints for administering and monitoring the Analytics service.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /analytics/node/agg/stats/remaining Count unsynced mutations to Analytics · Get remaining mutations to be synced #
Ask an LLM
“How many mutations from the data service have not yet been synced to Analytics?”
“What is the backlog of mutations waiting to be ingested into Analytics?”
Tell an agent
Show the number of remaining mutations to sync to Analytics.
Tell me how many mutations are still waiting to be ingested into Analytics.
GET /analytics/status/ingestion Check Analytics data ingestion status · Get analytics data ingestion status #
Ask an LLM
“Is Analytics ingestion currently running for each dataset?”
“What is the sync state of every dataset in Analytics?”
Tell an agent
Show the Analytics ingestion status for all datasets.
Check whether each Analytics dataset is in sync.
GET /analytics/cluster Get the Analytics cluster status · Get analytics cluster status #
Ask an LLM
“Which Analytics nodes are up and what state are they in?”
“Is the Analytics cluster healthy overall?”
Tell an agent
Show the status of every Analytics node.
Get the Analytics cluster status.
POST /analytics/cluster/restart Restart the Analytics cluster · Restart analytics cluster #
Ask an LLM
“How do I restart the Analytics service across all nodes?”
“Can I bring the Analytics cluster back up after a failure?”
Tell an agent destructive · confirm first
Restart the Analytics cluster.
Bring the Analytics service back online on all nodes.

Documentation

Specifications

Schemas & Data

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:couchbase-analytics-admin-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

couchbase-analytics-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Couchbase Analytics Service REST Analytics Admin API
  description: The Couchbase Analytics Service REST API provides access to the Analytics service for running complex analytical queries on operational data without impacting performance of key-value operations. It supports SQL++ queries for analytics, management of links to external data sources, and configuration of user-defined libraries. The service enables real-time analytics on JSON data alongside transactional workloads.
  version: '7.6'
  contact:
    name: Couchbase Support
    url: https://support.couchbase.com
  termsOfService: https://www.couchbase.com/terms-of-use
servers:
- url: https://localhost:8095
  description: Analytics Service (default port)
- url: https://localhost:18095
  description: Analytics Service (SSL)
security:
- basicAuth: []
tags:
- name: Analytics Admin
  description: Endpoints for administering and monitoring the Analytics service.
paths:
  /analytics/node/agg/stats/remaining:
    get:
      operationId: getAnalyticsRemainingMutations
      summary: Get remaining mutations to be synced
      description: Returns the number of mutations that have not yet been synced to the Analytics service from the Data service. Useful for monitoring data ingestion progress.
      tags:
      - Analytics Admin
      responses:
        '200':
          description: Successful retrieval of remaining mutation counts
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: integer
                  description: Remaining mutations per dataset
        '401':
          description: Unauthorized access
  /analytics/status/ingestion:
    get:
      operationId: getAnalyticsIngestionStatus
      summary: Get analytics data ingestion status
      description: Returns the current status of data ingestion from Couchbase Server into the Analytics service, including details about each dataset and its synchronization state.
      tags:
      - Analytics Admin
      responses:
        '200':
          description: Successful retrieval of ingestion status
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Unauthorized access
  /analytics/cluster:
    get:
      operationId: getAnalyticsClusterStatus
      summary: Get analytics cluster status
      description: Returns the status of the Analytics cluster including information about all Analytics nodes and their states.
      tags:
      - Analytics Admin
      responses:
        '200':
          description: Successful retrieval of cluster status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsClusterStatus'
        '401':
          description: Unauthorized access
  /analytics/cluster/restart:
    post:
      operationId: restartAnalyticsCluster
      summary: Restart analytics cluster
      description: Restarts the Analytics service across all nodes in the cluster.
      tags:
      - Analytics Admin
      responses:
        '202':
          description: Restart initiated successfully
        '401':
          description: Unauthorized access
components:
  schemas:
    AnalyticsClusterStatus:
      type: object
      description: Analytics cluster status information
      properties:
        state:
          type: string
          description: Overall state of the Analytics cluster
          enum:
          - ACTIVE
          - UNUSABLE
          - RECOVERING
        nodes:
          type: array
          description: List of Analytics nodes and their states
          items:
            type: object
            properties:
              nodeId:
                type: string
                description: Node identifier
              state:
                type: string
                description: State of the individual node
              partitions:
                type: array
                description: Data partitions on the node
                items:
                  type: object
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication using Couchbase Server credentials.
externalDocs:
  description: Couchbase Analytics Service REST API Documentation
  url: https://docs.couchbase.com/server/current/analytics/rest-analytics.html