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 Search API

The Search API from Elasticsearch — 1 operation(s) for search.

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

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

This API exposes 2 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}.

2 operations 1 paths 0 schemas 1 GET1 POST

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 Search 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 2

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

Search 2
GET
/{index}/_search
Search documents (URI)
searchUri 4 params → 200
POST
/{index}/_search
Search documents (DSL)
searchDsl 1 param body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elasticsearch-search-api-openapi.yml Raw ↑

Other APIs Elasticsearch publishes across the network.

Elasticsearch Cat API
Elasticsearch Cluster API
Elasticsearch Document API
Elasticsearch Index API