Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Elasticsearch Index API

The Index API from Elasticsearch — 1 operation(s) for index.

Elasticsearch Index API is one of 5 APIs that Elasticsearch publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Index. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 1 path. It is described by OpenAPI 3.1.0, at version 8.x.

Requests are made against a single base URL, https://{host}:{port}.

3 operations 1 paths 0 schemas 1 DELETE1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
8.x
Base URL
https://localhost:9200
Authentication
HTTP Basic, API Key
Contact
Resource Areas
1

Authentication & Security 2

Elasticsearch Index API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). An API key is passed in the header as Authorization (apiKeyAuth). By default, every request must be authenticated.

Paths & Operations 3

Across 1 path, the API surfaces 3 operations — 1 DELETE, 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Index 3
PUT
/{index}
Create index
createIndex 1 param body → 200
GET
/{index}
Get index info
getIndex 1 param → 200
DELETE
/{index}
Delete index
deleteIndex 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elastic-search-index-api-openapi.yml Raw ↑

Other APIs Elasticsearch publishes across the network.

Elasticsearch Cat API
Elasticsearch Cluster API
Elasticsearch Document API
Elasticsearch Search API