The generated API clients are a work in progress, you can also find our stable clients on the Algolia documentation.

Skip to main content

Algolia Monitoring API (1.0.0)

Download OpenAPI specification:Download

The Monitoring API lets you check the status and performance of your Algolia infrastructure.

Note: The Monitoring API is available on Premium plans and plans including the Enterprise add-on.

Incidents

List the known incidents.

List incidents

List known incidents for all clusters.

Responses

Response samples

Content type
application/json
{
  • "incidents": {
    }
}

List incidents for selected clusters

List known incidents for selected clusters.

path Parameters
clusters
required
string
Example: c1-de,c2-de,c3-de

Subset of clusters, separated by comma.

Responses

Response samples

Content type
application/json
{
  • "incidents": {
    }
}

Infrastructure

Return information about the Algolia infrastructure used by your application.

Get metrics for a given period

Report the aggregate value of a metric for a selected period of time.

path Parameters
metric
required
string (Metric)
Enum: "avg_build_time" "ssd_usage" "ram_search_usage" "ram_indexing_usage" "cpu_usage" "*"
Example: *

Metric to report.

For more information about the individual metrics, see the response. To include all metrics, use * as the parameter.

period
required
string (Period)
Enum: "minute" "hour" "day" "week" "month"
Example: week

Period over which to aggregate the metrics:

  • minute. Aggregate the last minute. 1 data point per 10 seconds.
  • hour. Aggregate the last hour. 1 data point per minute.
  • day. Aggregate the last day. 1 data point per 10 minutes.
  • week. Aggregate the last week. 1 data point per hour.
  • month. Aggregate the last month. 1 data point per day.

Responses

Response samples

Content type
application/json
{
  • "metrics": {
    }
}

Monitoring

Report search and indexing times for your clusters, and get a list of servers.

List servers

List the servers belonging to clusters.

The response depends on whether you authenticate your API request:

  • With authentication, the response lists the servers assigned to your Algolia application's cluster.

  • Without authentication, the response lists the servers for all Algolia clusters.

Authorizations:
appIdapiKey

Responses

Response samples

Content type
application/json
{
  • "inventory": [
    ]
}

Get search latency times

List the average latency for search requests for selected clusters.

path Parameters
clusters
required
string
Example: c1-de,c2-de,c3-de

Subset of clusters, separated by comma.

Responses

Response samples

Content type
application/json
{
  • "metrics": {
    }
}

Get indexing times

List the average times for indexing operations for selected clusters.

path Parameters
clusters
required
string
Example: c1-de,c2-de,c3-de

Subset of clusters, separated by comma.

Responses

Response samples

Content type
application/json
{
  • "metrics": {
    }
}

Test the reachability of clusters

Test whether clusters are reachable or not.

path Parameters
clusters
required
string
Example: c1-de,c2-de,c3-de

Subset of clusters, separated by comma.

Responses

Response samples

Content type
application/json
{
  • "c16-de": {
    }
}

Status

Report the status of your clusters.

At Algolia, your application is hosted on a cluster with three servers.

Cluster names follow a pattern: c{[0-9]+}-{region} where {region} is one of the supported Algolia regions.

Server names follow the pattern: {cluster-name}-{1|2|3}.

List cluster statuses

Report whether clusters are operational.

The response depends on whether you authenticate your API request.

  • With authentication, the response includes the status of the cluster assigned to your Algolia application.

  • Without authentication, the response lists the statuses of all public Algolia clusters.

Authorizations:
appIdapiKey

Responses

Response samples

Content type
application/json
{
  • "status": {
    }
}

List statuses of selected clusters

Report whether a cluster is operational.

path Parameters
clusters
required
string
Example: c1-de,c2-de,c3-de

Subset of clusters, separated by comma.

Responses

Response samples

Content type
application/json
{
  • "status": {
    }
}

Send requests to the Algolia REST API

This method allow you to send requests to the Algolia REST API.

path Parameters
path
required
string
Example: /keys

Path of the endpoint, anything after "/1" must be specified.

query Parameters
object

Query parameters to apply to the current query.

Responses

Response samples

Content type
application/json
{ }

Send requests to the Algolia REST API

This method allow you to send requests to the Algolia REST API.

path Parameters
path
required
string
Example: /keys

Path of the endpoint, anything after "/1" must be specified.

query Parameters
object

Query parameters to apply to the current query.

Request Body schema: application/json

Parameters to send with the custom request.

object

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{ }

Send requests to the Algolia REST API

This method allow you to send requests to the Algolia REST API.

path Parameters
path
required
string
Example: /keys

Path of the endpoint, anything after "/1" must be specified.

query Parameters
object

Query parameters to apply to the current query.

Request Body schema: application/json

Parameters to send with the custom request.

object

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{ }

Send requests to the Algolia REST API

This method allow you to send requests to the Algolia REST API.

path Parameters
path
required
string
Example: /keys

Path of the endpoint, anything after "/1" must be specified.

query Parameters
object

Query parameters to apply to the current query.

Responses

Response samples

Content type
application/json
{ }