A newer version of this documentation is available.

View Latest

Analytics REST API


      Analytics provides REST APIs that a client application can use to invoke services using simple HTTP methods. A catalog of available REST resources and requests is provided below.

      The Analytics REST APIs can be called on any node running the analytics service. By default, the Analytics REST endpoints below listen on the port 8095.

      For the examples, we assume that:

      • You’re running a Couchbase node with the Analytics service using the default port on localhost.

      • You authenticate as a user with the "Full Administrator" role with the user name "Administrator" and the password "password".

      Request Cancellation API

      Cluster Restart API

      Node Restart API

      Library API