{
  "opencollection": "1.0.0",
  "info": {
    "name": "Couchbase Analytics Service REST Allowed CIDRs Search Monitoring API",
    "version": "7.6"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Search Monitoring",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get document count for a search index",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/api/index/:indexName/count",
            "params": [
              {
                "name": "indexName",
                "value": "",
                "type": "path",
                "description": "The name of the Full Text Search index"
              }
            ]
          },
          "docs": "Returns the number of documents that have been indexed by the specified Full Text Search index."
        },
        {
          "info": {
            "name": "Get search service statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/api/stats"
          },
          "docs": "Returns aggregate statistics for the Search service and all indexes on the node."
        },
        {
          "info": {
            "name": "Get statistics for a search index",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/api/stats/index/:indexName",
            "params": [
              {
                "name": "indexName",
                "value": "",
                "type": "path",
                "description": "The name of the Full Text Search index"
              }
            ]
          },
          "docs": "Returns detailed statistics for a specific search index including document count, mutation throughput, and query performance metrics."
        },
        {
          "info": {
            "name": "Get namespace-level search statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/api/nsstats"
          },
          "docs": "Returns namespace-level statistics for the Search service that can be consumed by monitoring systems like Prometheus."
        }
      ]
    }
  ],
  "bundled": true
}