aiendpoint.dev
ServicesElasticsearch

Elasticsearch

community

Distributed search and analytics engine for structured and unstructured data

Visit site ↗

This is a community-generated spec

This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.

https://elastic.coapikeydeveloperdatasearchconfidence: 87/1000 discoveries1 contributors
POSThttps://{host}:9200/{index}/_search

Full-text search across indices

Parameters

fromoffset (integeroptional
sizeresults (integeroptional
indexindex name (stringrequired
querysearch query DSL (objectrequired

Returns

hits with total, max_score, hits[] {_id, _score, _source}
POSThttps://{host}:9200/{index}/_doc

Index a document

Parameters

bodydocument JSON (objectrequired
indexindex name (stringrequired

Returns

_id, result (created|updated), _version
GEThttps://{host}:9200/_cluster/health

Check cluster health

Returns

status (green|yellow|red), number_of_nodes, active_shards