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

Elastic Stack Doc API

The Doc API from Elastic Stack — 1 operation(s) for doc.

Elastic Stack Doc API is one of 7 APIs that Elastic Stack publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Doc. 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 1.0.0.

Requests are made against a single base URL, https://localhost:9200.

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
1.0.0
Base URL
https://localhost:9200
Resource Areas
1

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.

Doc 3
GET
/{index}/_doc/{id}
Get document by ID
getDocument 2 params → 200
PUT
/{index}/_doc/{id}
Index document with explicit ID
putDocument 2 params body → 200
DELETE
/{index}/_doc/{id}
Delete document by ID
deleteDocument 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elastic-stack-doc-api-openapi.yml Raw ↑

Other APIs Elastic Stack publishes across the network.

Kibana API
Elastic Stack Bulk API
Elastic Stack Cluster API
Elastic Stack Elasticsearch API API
Elastic Stack Search API
Elastic Stack Settings API