{
  "opencollection": "1.0.0",
  "info": {
    "name": "Couchbase Analytics Service REST Allowed CIDRs Query Admin API",
    "version": "7.6"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Query Admin",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List active query requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/active_requests"
          },
          "docs": "Returns the list of currently active query requests on the node, including their statement text, execution time, and request ID."
        },
        {
          "info": {
            "name": "Get an active request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/active_requests/:requestId",
            "params": [
              {
                "name": "requestId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the query request"
              }
            ]
          },
          "docs": "Returns details about a specific active query request."
        },
        {
          "info": {
            "name": "Cancel an active request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:8095/admin/active_requests/:requestId",
            "params": [
              {
                "name": "requestId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the query request"
              }
            ]
          },
          "docs": "Cancels a specific active query request by its request ID."
        },
        {
          "info": {
            "name": "List completed query requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/completed_requests"
          },
          "docs": "Returns the list of recently completed query requests on the node, including their statement text, execution time, and result count."
        },
        {
          "info": {
            "name": "List prepared statements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/prepareds"
          },
          "docs": "Returns the list of prepared statements cached on the node."
        },
        {
          "info": {
            "name": "Get a prepared statement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/prepareds/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the prepared statement"
              }
            ]
          },
          "docs": "Returns details about a specific prepared statement."
        },
        {
          "info": {
            "name": "Delete a prepared statement",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost:8095/admin/prepareds/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the prepared statement"
              }
            ]
          },
          "docs": "Removes a specific prepared statement from the cache."
        },
        {
          "info": {
            "name": "List active index requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/indexes/active_requests"
          },
          "docs": "Returns the list of active index request operations being processed by the Query service."
        },
        {
          "info": {
            "name": "Get query service vitals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:8095/admin/vitals"
          },
          "docs": "Returns vital statistics for the Query service node including request counts, error counts, and resource utilization."
        }
      ]
    }
  ],
  "bundled": true
}