Anomaly Detection Info API
The info API provides basic build, version, and cluster information.
The info API provides basic build, version, and cluster information.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/anomaly-detection:anomaly-detection-info-api"
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.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Elasticsearch Info API
license:
name: Apache 2.0
url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
version: ''
description: 'Elasticsearch provides REST APIs that are used by the UI components and can be called directly to configure and access Elasticsearch features.
## Documentation source and versions
This documentation is derived from the `main` branch of the elasticsearch-specification repository. It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.
This documentation contains work-in-progress information for future Elastic Stack releases.'
x-doc-license:
name: Attribution-NonCommercial-NoDerivatives 4.0 International
url: https://creativecommons.org/licenses/by-nc-nd/4.0/
x-feedbackLink:
label: Feedback
url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
security:
- apiKeyAuth: []
- basicAuth: []
- bearerAuth: []
tags:
- name: Info
x-displayName: Info
description: The info API provides basic build, version, and cluster information.
paths:
/:
get:
tags:
- Info
summary: Get cluster info
description: 'Get basic build, version, and cluster information.
::: In Serverless, `version.number` always reports the next target Elasticsearch release version at the time of the request. Serverless does not track to a traditional release versioning model; it is continuously updated. The version number is provided to maintain compatibility with existing clients, but it is not meaningful for assessing feature availability. Clients should detect a Serverless environment by checking for `build_flavor: serverless`.
## Required authorization
* Cluster privileges: `monitor`'
externalDocs:
description: Learn about Serverless differences
url: https://www.elastic.co/docs/deploy-manage/deploy/elastic-cloud/differences-from-other-elasticsearch-offerings
x-previousVersionUrl: https://www.elastic.co/guide/en/elasticsearch/reference/8.19/rest-api-root.html
operationId: info
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
cluster_name:
description: The responding cluster's name.
allOf:
- $ref: '#/components/schemas/_types.Name'
cluster_uuid:
allOf:
- $ref: '#/components/schemas/_types.Uuid'
name:
description: The responding node's name.
allOf:
- $ref: '#/components/schemas/_types.Name'
tagline:
type: string
version:
description: 'Version information for the Elasticsearch cluster. In Serverless, `version.number` always reports the next target Elasticsearch release version at the time of the request, not an actual deployed version. The version number is provided to maintain client compatibility but is not meaningful for assessing feature availability. Use `build_flavor: serverless` to detect a Serverless environment.'
allOf:
- $ref: '#/components/schemas/_types.ElasticsearchVersionInfo'
required:
- cluster_name
- cluster_uuid
- name
- tagline
- version
examples:
RootNodeInfoResponseExample1:
summary: Stack response
description: A successful response from `GET /`.
value: "{\n \"name\": \"instance-0000000000\",\n \"cluster_name\": \"my_test_cluster\",\n \"cluster_uuid\": \"zk-HjQtYQGyL3NFSSu7InA\",\n \"version\": {\n \"number\": \"9.1.0\",\n \"build_flavor\": \"default\",\n \"build_type\": \"docker\",\n \"build_hash\": 0,\n \"build_date\": \"2025-07-09T22:10:13.578Z\",\n \"build_snapshot\": false,\n \"lucene_version\": \"10.2.2\",\n \"minimum_wire_compatibility_version\": \"8.19.0\",\n \"minimum_index_compatibility_version\": \"8.0.0\"\n },\n \"tagline\": \"You Know, for Search\"\n}"
RootNodeInfoResponseExample2:
summary: Serverless response
description: A successful response from `GET /` on Serverless. The `version.number` shown here is illustrative; Serverless always reports the next target Elasticsearch release version at the time of the request, so the actual value will differ from this example.
value: "{\n \"name\": \"serverless\",\n \"cluster_name\": \"my_test_serverless_cluster\",\n \"cluster_uuid\": \"8xx0pi24Squnf4PFDOAtwg\",\n \"version\": {\n \"number\": \"9.4.0\",\n \"build_flavor\": \"serverless\",\n \"build_type\": \"docker\",\n \"build_hash\": \"6b73650b7c4192d4a7ef1d75a368dad7d28f1ae0\",\n \"build_date\": \"2026-03-31T12:25:05.021Z\",\n \"build_snapshot\": false,\n \"lucene_version\": \"10.4.0\",\n \"minimum_wire_compatibility_version\": \"9.4.0\",\n \"minimum_index_compatibility_version\": \"9.4.0\"\n },\n \"tagline\": \"You Know, for Search\"\n}"
x-state: Generally available
x-codeSamples:
- lang: Console
source: 'GET /
'
- lang: Python
source: resp = client.info()
- lang: JavaScript
source: const response = await client.info();
- lang: Ruby
source: response = client.info
- lang: PHP
source: $resp = $client->info();
- lang: curl
source: 'curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/"'
- lang: C#
source: var response = await client.InfoAsync();
- lang: Java
source: 'client.info();
'
x-metaTags:
- content: Elasticsearch
name: product_name
components:
schemas:
_types.Uuid:
type: string
_types.ElasticsearchVersionInfo:
type: object
properties:
build_date:
description: The Elasticsearch Git commit's date.
allOf:
- $ref: '#/components/schemas/_types.DateTime'
build_flavor:
description: The build flavor. For example, `default`.
type: string
build_hash:
description: The Elasticsearch Git commit's SHA hash.
type: string
build_snapshot:
description: Indicates whether the Elasticsearch build was a snapshot.
type: boolean
build_type:
description: 'The build type that corresponds to how Elasticsearch was installed.
For example, `docker`, `rpm`, or `tar`.'
type: string
lucene_version:
description: The version number of Elasticsearch's underlying Lucene software.
allOf:
- $ref: '#/components/schemas/_types.VersionString'
minimum_index_compatibility_version:
description: The minimum index version with which the responding node can read from disk.
allOf:
- $ref: '#/components/schemas/_types.VersionString'
minimum_wire_compatibility_version:
description: 'The minimum node version with which the responding node can communicate.
Also the minimum version from which you can perform a rolling upgrade.'
allOf:
- $ref: '#/components/schemas/_types.VersionString'
number:
description: "The Elasticsearch version number.\n\n::: IMPORTANT: For Serverless deployments, this static value is always `8.11.0` and is used solely for backward compatibility with legacy clients.\n Serverless environments are versionless and automatically upgraded, so this value can be safely ignored."
type: string
required:
- build_date
- build_flavor
- build_hash
- build_snapshot
- build_type
- lucene_version
- minimum_index_compatibility_version
- minimum_wire_compatibility_version
- number
_types.DateTime:
description: 'A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a
number of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string
representation.'
oneOf:
- type: string
- $ref: '#/components/schemas/_types.EpochTimeUnitMillis'
_types.EpochTimeUnitMillis:
allOf:
- $ref: '#/components/schemas/_types.UnitMillis'
_types.VersionString:
type: string
_types.Name:
type: string
_types.UnitMillis:
description: Time unit for milliseconds
type: number
securitySchemes:
apiKeyAuth:
in: header
name: Authorization
type: apiKey
description: "Elasticsearch APIs support key-based authentication.\nYou must create an API key and use the encoded value in the request header.\nFor example:\n\n\n```\ncurl -X GET \"${ES_URL}/_cat/indices?v=true\" \\\n -H \"Authorization: ApiKey ${API_KEY}\"\n```\n\nTo get API keys, use the `/_security/api_key` APIs.\n"
basicAuth:
scheme: basic
type: http
bearerAuth:
scheme: bearer
type: http
description: 'Elasticsearch APIs support the use of bearer tokens in the `Authorization` HTTP header to authenticate with the API.
For examples, refer to [Token-based authentication services](https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/token-based-authentication-services)
'
x-provenance:
method: harvested
publisher: Anomaly Detection
source: https://www.elastic.co/docs/api/doc/elasticsearch/group/elasticsearch-openapi-source.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)