# Elasticsearch Request Response Specification

> Elasticsearch Request & Response Specification API skill. Use when working with Elasticsearch Request & Response Specification for _async_search, {index}, _bulk. Covers 823 endpoints.

- Skill: `lap-platform/elasticsearch-request-response-specification` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add lap-platform/elasticsearch-request-response-specification`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lap-platform/elasticsearch-request-response-specification/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: Lap-Platform (https://skillmd.com/u/lap-platform)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/lap-platform/elasticsearch-request-response-specification

---


# Elasticsearch Request & Response Specification

## Auth
ApiKey ids in path

## Base URL
Not specified.

## Setup
1. Set your API key in the appropriate header
2. GET /_cat/aliases -- verify access
3. POST /_async_search -- create first _async_search

## Endpoints

823 endpoints across 79 groups. See references/api-spec.lap for full details.

### _async_search
| Method | Path | Description |
|--------|------|-------------|
| GET | /_async_search/{id} | Get async search results |
| DELETE | /_async_search/{id} | Delete an async search |
| GET | /_async_search/status/{id} | Get the async search status |
| POST | /_async_search | Run an async search |

### {index}
| Method | Path | Description |
|--------|------|-------------|
| POST | /{index}/_async_search | Run an async search |
| PUT | /{index}/_bulk | Bulk index or delete documents |
| POST | /{index}/_bulk | Bulk index or delete documents |
| PUT | /{index}/_ccr/follow | Create a follower |
| GET | /{index}/_ccr/info | Get follower information |
| GET | /{index}/_ccr/stats | Get follower stats |
| POST | /{index}/_ccr/forget_follower | Forget a follower |
| POST | /{index}/_ccr/pause_follow | Pause a follower |
| POST | /{index}/_ccr/resume_follow | Resume a follower |
| POST | /{index}/_ccr/unfollow | Unfollow an index |
| GET | /{index}/_count | Count search results |
| POST | /{index}/_count | Count search results |
| PUT | /{index}/_create/{id} | Create a new document in the index |
| POST | /{index}/_create/{id} | Create a new document in the index |
| GET | /{index}/_doc/{id} | Get a document by its ID |
| PUT | /{index}/_doc/{id} | Create or update a document in an index |
| POST | /{index}/_doc/{id} | Create or update a document in an index |
| DELETE | /{index}/_doc/{id} | Delete a document |
| HEAD | /{index}/_doc/{id} | Check a document |
| POST | /{index}/_delete_by_query | Delete documents |
| GET | /{index}/_eql/search | Get EQL search results |
| POST | /{index}/_eql/search | Get EQL search results |
| GET | /{index}/_source/{id} | Get a document's source |
| HEAD | /{index}/_source/{id} | Check for a document source |
| GET | /{index}/_explain/{id} | Explain a document match result |
| POST | /{index}/_explain/{id} | Explain a document match result |
| GET | /{index}/_field_caps | Get the field capabilities |
| POST | /{index}/_field_caps | Get the field capabilities |
| GET | /{index}/_fleet/global_checkpoints | Get global checkpoints |
| GET | /{index}/_fleet/_fleet_msearch | Run multiple Fleet searches |
| POST | /{index}/_fleet/_fleet_msearch | Run multiple Fleet searches |
| GET | /{index}/_fleet/_fleet_search | Run a Fleet search |
| POST | /{index}/_fleet/_fleet_search | Run a Fleet search |
| GET | /{index}/_graph/explore | Explore graph analytics |
| POST | /{index}/_graph/explore | Explore graph analytics |
| GET | /{index}/_ilm/explain | Explain the lifecycle state |
| POST | /{index}/_ilm/remove | Remove policies from an index |
| POST | /{index}/_ilm/retry | Retry a policy |
| POST | /{index}/_doc | Create or update a document in an index |
| PUT | /{index}/_block/{block} | Add an index block |
| DELETE | /{index}/_block/{block} | Remove an index block |
| GET | /{index}/_analyze | Get tokens from text analysis |
| POST | /{index}/_analyze | Get tokens from text analysis |
| POST | /{index}/_cache/clear | Clear the cache |
| PUT | /{index}/_clone/{target} | Clone an index |
| POST | /{index}/_clone/{target} | Clone an index |
| POST | /{index}/_close | Close an index |
| GET | /{index} | Get index information |
| PUT | /{index} | Create an index |
| DELETE | /{index} | Delete indices |
| HEAD | /{index} | Check indices |
| GET | /{index}/_alias/{name} | Get aliases |
| PUT | /{index}/_alias/{name} | Create or update an alias |
| POST | /{index}/_alias/{name} | Create or update an alias |
| DELETE | /{index}/_alias/{name} | Delete an alias |
| HEAD | /{index}/_alias/{name} | Check aliases |
| PUT | /{index}/_aliases/{name} | Create or update an alias |
| POST | /{index}/_aliases/{name} | Create or update an alias |
| DELETE | /{index}/_aliases/{name} | Delete an alias |
| POST | /{index}/_disk_usage | Analyze the index disk usage |
| POST | /{index}/_downsample/{target_index} | Downsample an index |
| GET | /{index}/_lifecycle/explain | Get the status for a data stream lifecycle |
| GET | /{index}/_field_usage_stats | Get field usage stats |
| GET | /{index}/_flush | Flush data streams or indices |
| POST | /{index}/_flush | Flush data streams or indices |
| POST | /{index}/_forcemerge | Force a merge |
| GET | /{index}/_alias | Get aliases |
| GET | /{index}/_mapping/field/{fields} | Get mapping definitions |
| GET | /{index}/_mapping | Get mapping definitions |
| PUT | /{index}/_mapping | Update field mappings |
| POST | /{index}/_mapping | Update field mappings |
| GET | /{index}/_settings | Get index settings |
| PUT | /{index}/_settings | Update index settings |
| GET | /{index}/_settings/{name} | Get index settings |
| POST | /{index}/_open | Open a closed index |
| GET | /{index}/_recovery | Get index recovery information |
| GET | /{index}/_refresh | Refresh an index |
| POST | /{index}/_refresh | Refresh an index |
| GET | /{index}/_reload_search_analyzers | Reload search analyzers |
| POST | /{index}/_reload_search_analyzers | Reload search analyzers |
| GET | /{index}/_segments | Get index segments |
| GET | /{index}/_shard_stores | Get index shard stores |
| PUT | /{index}/_shrink/{target} | Shrink an index |
| POST | /{index}/_shrink/{target} | Shrink an index |
| PUT | /{index}/_split/{target} | Split an index |
| POST | /{index}/_split/{target} | Split an index |
| GET | /{index}/_stats | Get index statistics |
| GET | /{index}/_stats/{metric} | Get index statistics |
| GET | /{index}/_validate/query | Validate a query |
| POST | /{index}/_validate/query | Validate a query |
| GET | /{index}/_mget | Get multiple documents |
| POST | /{index}/_mget | Get multiple documents |
| GET | /{index}/_migration/deprecations | Get deprecation information |
| GET | /{index}/_msearch | Run multiple searches |
| POST | /{index}/_msearch | Run multiple searches |
| GET | /{index}/_msearch/template | Run multiple templated searches |
| POST | /{index}/_msearch/template | Run multiple templated searches |
| GET | /{index}/_mtermvectors | Get multiple term vectors |
| POST | /{index}/_mtermvectors | Get multiple term vectors |
| POST | /{index}/_pit | Open a point in time |
| GET | /{index}/_rank_eval | Evaluate ranked search results |
| POST | /{index}/_rank_eval | Evaluate ranked search results |
| GET | /{index}/_rollup/data | Get the rollup index capabilities |
| GET | /{index}/_rollup_search | Search rolled-up data |
| POST | /{index}/_rollup_search | Search rolled-up data |
| GET | /{index}/_search | Run a search |
| POST | /{index}/_search | Run a search |
| GET | /{index}/_mvt/{field}/{zoom}/{x}/{y} | Search a vector tile |
| POST | /{index}/_mvt/{field}/{zoom}/{x}/{y} | Search a vector tile |
| GET | /{index}/_search_shards | Get the search shards |
| POST | /{index}/_search_shards | Get the search shards |
| GET | /{index}/_search/template | Run a search with a search template |
| POST | /{index}/_search/template | Run a search with a search template |
| POST | /{index}/_searchable_snapshots/cache/clear | Clear the cache |
| GET | /{index}/_searchable_snapshots/stats | Get searchable snapshot statistics |
| GET | /{index}/_terms_enum | Get terms in an index |
| POST | /{index}/_terms_enum | Get terms in an index |
| GET | /{index}/_termvectors/{id} | Get term vector information |
| POST | /{index}/_termvectors/{id} | Get term vector information |
| GET | /{index}/_termvectors | Get term vector information |
| POST | /{index}/_termvectors | Get term vector information |
| POST | /{index}/_update/{id} | Update a document |
| POST | /{index}/_update_by_query | Update documents |

### _bulk
| Method | Path | Description |
|--------|------|-------------|
| PUT | /_bulk | Bulk index or delete documents |
| POST | /_bulk | Bulk index or delete documents |

### _cat
| Method | Path | Description |
|--------|------|-------------|
| GET | /_cat/aliases | Get aliases |
| GET | /_cat/aliases/{name} | Get aliases |
| GET | /_cat/allocation | Get shard allocation information |
| GET | /_cat/allocation/{node_id} | Get shard allocation information |
| GET | /_cat/circuit_breaker | Get circuit breakers statistics |
| GET | /_cat/circuit_breaker/{circuit_breaker_patterns} | Get circuit breakers statistics |
| GET | /_cat/component_templates | Get component templates |
| GET | /_cat/component_templates/{name} | Get component templates |
| GET | /_cat/count | Get a document count |
| POST | /_cat/count | Get a document count |
| GET | /_cat/count/{index} | Get a document count |
| POST | /_cat/count/{index} | Get a document count |
| GET | /_cat/fielddata | Get field data cache information |
| GET | /_cat/fielddata/{fields} | Get field data cache information |
| GET | /_cat/health | Get the cluster health status |
| GET | /_cat | Get CAT help |
| GET | /_cat/indices | Get index information |
| GET | /_cat/indices/{index} | Get index information |
| GET | /_cat/master | Get master node information |
| GET | /_cat/ml/data_frame/analytics | Get data frame analytics jobs |
| GET | /_cat/ml/data_frame/analytics/{id} | Get data frame analytics jobs |
| GET | /_cat/ml/datafeeds | Get datafeeds |
| GET | /_cat/ml/datafeeds/{datafeed_id} | Get datafeeds |
| GET | /_cat/ml/anomaly_detectors | Get anomaly detection jobs |
| GET | /_cat/ml/anomaly_detectors/{job_id} | Get anomaly detection jobs |
| GET | /_cat/ml/trained_models | Get trained models |
| GET | /_cat/ml/trained_models/{model_id} | Get trained models |
| GET | /_cat/nodeattrs | Get node attribute information |
| GET | /_cat/nodes | Get node information |
| GET | /_cat/pending_tasks | Get pending task information |
| GET | /_cat/plugins | Get plugin information |
| GET | /_cat/recovery | Get shard recovery information |
| GET | /_cat/recovery/{index} | Get shard recovery information |
| GET | /_cat/repositories | Get snapshot repository information |
| GET | /_cat/segments | Get segment information |
| GET | /_cat/segments/{index} | Get segment information |
| GET | /_cat/shards | Get shard information |
| GET | /_cat/shards/{index} | Get shard information |
| GET | /_cat/snapshots | Get snapshot information |
| GET | /_cat/snapshots/{repository} | Get snapshot information |
| GET | /_cat/tasks | Get task information |
| GET | /_cat/templates | Get index template information |
| GET | /_cat/templates/{name} | Get index template information |
| GET | /_cat/thread_pool | Get thread pool statistics |
| GET | /_cat/thread_pool/{thread_pool_patterns} | Get thread pool statistics |
| GET | /_cat/transforms | Get transform information |
| GET | /_cat/transforms/{transform_id} | Get transform information |

### _ccr
| Method | Path | Description |
|--------|------|-------------|
| GET | /_ccr/auto_follow/{name} | Get auto-follow patterns |
| PUT | /_ccr/auto_follow/{name} | Create or update auto-follow patterns |
| DELETE | /_ccr/auto_follow/{name} | Delete auto-follow patterns |
| GET | /_ccr/auto_follow | Get auto-follow patterns |
| POST | /_ccr/auto_follow/{name}/pause | Pause an auto-follow pattern |
| POST | /_ccr/auto_follow/{name}/resume | Resume an auto-follow pattern |
| GET | /_ccr/stats | Get cross-cluster replication stats |

### _search
| Method | Path | Description |
|--------|------|-------------|
| GET | /_search/scroll | Run a scrolling search |
| POST | /_search/scroll | Run a scrolling search |
| DELETE | /_search/scroll | Clear a scrolling search |
| GET | /_search/scroll/{scroll_id} | Run a scrolling search |
| POST | /_search/scroll/{scroll_id} | Run a scrolling search |
| DELETE | /_search/scroll/{scroll_id} | Clear a scrolling search |
| GET | /_search | Run a search |
| POST | /_search | Run a search |
| GET | /_search/template | Run a search with a search template |
| POST | /_search/template | Run a search with a search template |

### _pit
| Method | Path | Description |
|--------|------|-------------|
| DELETE | /_pit | Close a point in time |

### _cluster
| Method | Path | Description |
|--------|------|-------------|
| GET | /_cluster/allocation/explain | Explain the shard allocations |
| POST | /_cluster/allocation/explain | Explain the shard allocations |
| POST | /_cluster/voting_config_exclusions | Update voting configuration exclusions |
| DELETE | /_cluster/voting_config_exclusions | Clear cluster voting config exclusions |
| GET | /_cluster/settings | Get cluster-wide settings |
| PUT | /_cluster/settings | Update the cluster settings |
| GET | /_cluster/health | Get the cluster health status |
| GET | /_cluster/health/{index} | Get the cluster health status |
| GET | /_cluster/pending_tasks | Get the pending cluster tasks |
| POST | /_cluster/reroute | Reroute the cluster |
| GET | /_cluster/state | Get the cluster state |
| GET | /_cluster/state/{metric} | Get the cluster state |
| GET | /_cluster/state/{metric}/{index} | Get the cluster state |
| GET | /_cluster/stats | Get cluster statistics |
| GET | /_cluster/stats/nodes/{node_id} | Get cluster statistics |

### _component_template
| Method | Path | Description |
|--------|------|-------------|
| GET | /_component_template/{name} | Get component templates |
| PUT | /_component_template/{name} | Create or update a component template |
| POST | /_component_template/{name} | Create or update a component template |
| DELETE | /_component_template/{name} | Delete component templates |
| HEAD | /_component_template/{name} | Check component templates |
| GET | /_component_template | Get component templates |

### _info
| Method | Path | Description |
|--------|------|-------------|
| GET | /_info/{target} | Get cluster info |

### _remote
| Method | Path | Description |
|--------|------|-------------|
| GET | /_remote/info | Get remote cluster information |

### _connector
| Method | Path | Description |
|--------|------|-------------|
| PUT | /_connector/{connector_id}/_check_in | Check in a connector |
| GET | /_connector/{connector_id} | Get a connector |
| PUT | /_connector/{connector_id} | Create or update a connector |
| DELETE | /_connector/{connector_id} | Delete a connector |
| GET | /_connector | Get all connectors |
| PUT | /_connector | Create or update a connector |
| POST | /_connector | Create a connector |
| PUT | /_connector/_sync_job/{connector_sync_job_id}/_cancel | Cancel a connector sync job |
| PUT | /_connector/_sync_job/{connector_sync_job_id}/_check_in | Check in a connector sync job |
| PUT | /_connector/_sync_job/{connector_sync_job_id}/_claim | Claim a connector sync job |
| GET | /_connector/_sync_job/{connector_sync_job_id} | Get a connector sync job |
| DELETE | /_connector/_sync_job/{connector_sync_job_id} | Delete a connector sync job |
| PUT | /_connector/_sync_job/{connector_sync_job_id}/_error | Set a connector sync job error |
| GET | /_connector/_sync_job | Get all connector sync jobs |
| POST | /_connector/_sync_job | Create a connector sync job |
| PUT | /_connector/_sync_job/{connector_sync_job_id}/_stats | Set the connector sync job stats |
| PUT | /_connector/{connector_id}/_filtering/_activate | Activate the connector draft filter |
| PUT | /_connector/{connector_id}/_api_key_id | Update the connector API key ID |
| PUT | /_connector/{connector_id}/_configuration | Update the connector configuration |
| PUT | /_connector/{connector_id}/_error | Update the connector error field |
| PUT | /_connector/{connector_id}/_features | Update the connector features |
| PUT | /_connector/{connector_id}/_filtering | Update the connector filtering |
| PUT | /_connector/{connector_id}/_filtering/_validation | Update the connector draft filtering validation |
| PUT | /_connector/{connector_id}/_index_name | Update the connector index name |
| PUT | /_connector/{connector_id}/_name | Update the connector name and description |
| PUT | /_connector/{connector_id}/_native | Update the connector is_native flag |
| PUT | /_connector/{connector_id}/_pipeline | Update the connector pipeline |
| PUT | /_connector/{connector_id}/_scheduling | Update the connector scheduling |
| PUT | /_connector/{connector_id}/_service_type | Update the connector service type |
| PUT | /_connector/{connector_id}/_status | Update the connector status |

### _count
| Method | Path | Description |
|--------|------|-------------|
| GET | /_count | Count search results |
| POST | /_count | Count search results |

### _dangling
| Method | Path | Description |
|--------|------|-------------|
| POST | /_dangling/{index_uuid} | Import a dangling index |
| DELETE | /_dangling/{index_uuid} | Delete a dangling index |
| GET | /_dangling | Get the dangling indices |

### _delete_by_query
| Method | Path | Description |
|--------|------|-------------|
| POST | /_delete_by_query/{task_id}/_rethrottle | Throttle a delete by query operation |

### _scripts
| Method | Path | Description |
|--------|------|-------------|
| GET | /_scripts/{id} | Get a script or search template |
| PUT | /_scripts/{id} | Create or update a script or search template |
| POST | /_scripts/{id} | Create or update a script or search template |
| DELETE | /_scripts/{id} | Delete a script or search template |
| PUT | /_scripts/{id}/{context} | Create or update a script or search template |
| POST | /_scripts/{id}/{context} | Create or update a script or search template |
| GET | /_scripts/painless/_execute | Run a script |
| POST | /_scripts/painless/_execute | Run a script |

### _enrich
| Method | Path | Description |
|--------|------|-------------|
| GET | /_enrich/policy/{name} | Get an enrich policy |
| PUT | /_enrich/policy/{name} | Create an enrich policy |
| DELETE | /_enrich/policy/{name} | Delete an enrich policy |
| PUT | /_enrich/policy/{name}/_execute | Run an enrich policy |
| GET | /_enrich/policy | Get an enrich policy |
| GET | /_enrich/_stats | Get enrich stats |

### _eql
| Method | Path | Description |
|--------|------|-------------|
| GET | /_eql/search/{id} | Get async EQL search results |
| DELETE | /_eql/search/{id} | Delete an async EQL search |
| GET | /_eql/search/status/{id} | Get the async EQL status |

### _query
| Method | Path | Description |
|--------|------|-------------|
| POST | /_query/async | Run an async ES|QL query |
| GET | /_query/async/{id} | Get async ES|QL query results |
| DELETE | /_query/async/{id} | Delete an async ES|QL query |
| POST | /_query/async/{id}/stop | Stop async ES|QL query |
| GET | /_query/queries/{id} | Get a specific running ES|QL query information |
| GET | /_query/queries | Get running ES|QL queries information |
| POST | /_query | Run an ES|QL query |

### _features
| Method | Path | Description |
|--------|------|-------------|
| GET | /_features | Get the features |
| POST | /_features/_reset | Reset the features |

### _field_caps
| Method | Path | Description |
|--------|------|-------------|
| GET | /_field_caps | Get the field capabilities |
| POST | /_field_caps | Get the field capabilities |

### _fleet
| Method | Path | Description |
|--------|------|-------------|
| GET | /_fleet/_fleet_msearch | Run multiple Fleet searches |
| POST | /_fleet/_fleet_msearch | Run multiple Fleet searches |

### _script_context
| Method | Path | Description |
|--------|------|-------------|
| GET | /_script_context | Get script contexts |

### _script_language
| Method | Path | Description |
|--------|------|-------------|
| GET | /_script_language | Get script languages |

### _health_report
| Method | Path | Description |
|--------|------|-------------|
| GET | /_health_report | Get the cluster health |
| GET | /_health_report/{feature} | Get the cluster health |

### _ilm
| Method | Path | Description |
|--------|------|-------------|
| GET | /_ilm/policy/{policy} | Get lifecycle policies |
| PUT | /_ilm/policy/{policy} | Create or update a lifecycle policy |
| DELETE | /_ilm/policy/{policy} | Delete a lifecycle policy |
| GET | /_ilm/policy | Get lifecycle policies |
| GET | /_ilm/status | Get the ILM status |
| POST | /_ilm/migrate_to_data_tiers | Migrate to data tiers routing |
| POST | /_ilm/move/{index} | Move to a lifecycle step |
| POST | /_ilm/start | Start the ILM plugin |
| POST | /_ilm/stop | Stop the ILM plugin |

### _analyze
| Method | Path | Description |
|--------|------|-------------|
| GET | /_analyze | Get tokens from text analysis |
| POST | /_analyze | Get tokens from text analysis |

### _migration
| Method | Path | Description |
|--------|------|-------------|
| POST | /_migration/reindex/{index}/_cancel | Cancel a migration reindex operation |
| GET | /_migration/reindex/{index}/_status | Get the migration reindexing status |
| POST | /_migration/reindex | Reindex legacy backing indices |
| GET | /_migration/deprecations | Get deprecation information |
| GET | /_migration/system_features | Get feature migration information |
| POST | /_migration/system_features | Start the feature migration |

### _cache
| Method | Path | Description |
|--------|------|-------------|
| POST | /_cache/clear | Clear the cache |

### _data_stream
| Method | Path | Description |
|--------|------|-------------|
| GET | /_data_stream/{name} | Get data streams |
| PUT | /_data_stream/{name} | Create a data stream |
| DELETE | /_data_stream/{name} | Delete data streams |
| GET | /_data_stream/_stats | Get data stream stats |
| GET | /_data_stream/{name}/_stats | Get data stream stats |
| GET | /_data_stream/{name}/_lifecycle | Get data stream lifecycles |
| PUT | /_data_stream/{name}/_lifecycle | Update data stream lifecycles |
| DELETE | /_data_stream/{name}/_lifecycle | Delete data stream lifecycles |
| GET | /_data_stream/{name}/_options | Get data stream options |
| PUT | /_data_stream/{name}/_options | Update data stream options |
| DELETE | /_data_stream/{name}/_options | Delete data stream options |
| GET | /_data_stream | Get data streams |
| GET | /_data_stream/{name}/_mappings | Get data stream mappings |
| PUT | /_data_stream/{name}/_mappings | Update data stream mappings |
| GET | /_data_stream/{name}/_settings | Get data stream settings |
| PUT | /_data_stream/{name}/_settings | Update data stream settings |
| POST | /_data_stream/_migrate/{name} | Convert an index alias to a data stream |
| POST | /_data_stream/_modify | Update data streams |
| POST | /_data_stream/_promote/{name} | Promote a data stream |

### _create_from
| Method | Path | Description |
|--------|------|-------------|
| PUT | /_create_from/{source}/{dest} | Create an index from a source index |
| POST | /_create_from/{source}/{dest} | Create an index from a source index |

### _index_template
| Method | Path | Description |
|--------|------|-------------|
| GET | /_index_template/{name} | Get index templates |
| PUT | /_index_template/{name} | Create or update an index template |
| POST | /_index_template/{name} | Create or update an index template |
| DELETE | /_index_template/{name} | Delete an index template |
| HEAD | /_index_template/{name} | Check index templates |
| GET | /_index_template | Get index templates |
| POST | /_index_template/_simulate_index/{name} | Simulate an index |
| POST | /_index_template/_simulate | Simulate an index template |
| POST | /_index_template/_simulate/{name} | Simulate an index template |

### _template
| Method | Path | Description |
|--------|------|-------------|
| GET | /_template/{name} | Get legacy index templates |
| PUT | /_template/{name} | Create or update a legacy index template |
| POST | /_template/{name} | Create or update a legacy index template |
| DELETE | /_template/{name} | Delete a legacy index template |
| HEAD | /_template/{name} | Check existence of index templates |
| GET | /_template | Get legacy index templates |

### _alias
| Method | Path | Description |
|--------|------|-------------|
| GET | /_alias/{name} | Get aliases |
| HEAD | /_alias/{name} | Check aliases |
| GET | /_alias | Get aliases |

### _flush
| Method | Path | Description |
|--------|------|-------------|
| GET | /_flush | Flush data streams or indices |
| POST | /_flush | Flush data streams or indices |

### _forcemerge
| Method | Path | Description |
|--------|------|-------------|
| POST | /_forcemerge | Force a merge |

### _lifecycle
| Method | Path | Description |
|--------|------|-------------|
| GET | /_lifecycle/stats | Get data stream lifecycle stats |

### _mapping
| Method | Path | Description |
|--------|------|-------------|
| GET | /_mapping/field/{fields} | Get mapping definitions |
| GET | /_mapping | Get mapping definitions |

### _settings
| Method | Path | Description |
|--------|------|-------------|
| GET | /_settings | Get index settings |
| PUT | /_settings | Update index settings |
| GET | /_settings/{name} | Get index settings |

### _recovery
| Method | Path | Description |
|--------|------|-------------|
| GET | /_recovery | Get index recovery information |

### _refresh
| Method | Path | Description |
|--------|------|-------------|
| GET | /_refresh | Refresh an index |
| POST | /_refresh | Refresh an index |

### _resolve
| Method | Path | Description |
|--------|------|-------------|
| GET | /_resolve/cluster | Resolve the cluster |
| GET | /_resolve/cluster/{name} | Resolve the cluster |
| GET | /_resolve/index/{name} | Resolve indices |
| POST | /_resolve/index/{name} | Resolve indices |

### {alias}
| Method | Path | Description |
|--------|------|-------------|
| POST | /{alias}/_rollover | Roll over to a new index |
| POST | /{alias}/_rollover/{new_index} | Roll over to a new index |

### _segments
| Method | Path | Description |
|--------|------|-------------|
| GET | /_segments | Get index segments |

### _shard_stores
| Method | Path | Description |
|--------|------|-------------|
| GET | /_shard_stores | Get index shard stores |

### _stats
| Method | Path | Description |
|--------|------|-------------|
| GET | /_stats | Get index statistics |
| GET | /_stats/{metric} | Get index statistics |

### _aliases
| Method | Path | Description |
|--------|------|-------------|
| POST | /_aliases | Create or update an alias |

### _validate
| Method | Path | Description |
|--------|------|-------------|
| GET | /_validate/query | Validate a query |
| POST | /_validate/query | Validate a query |

### _inference
| Method | Path | Description |
|--------|------|-------------|
| POST | /_inference/chat_completion/{inference_id}/_stream | Perform chat completion inference on the service |
| POST | /_inference/completion/{inference_id} | Perform completion inference on the service |
| GET | /_inference/{inference_id} | Get an inference endpoint |
| PUT | /_inference/{inference_id} | Create an inference endpoint |
| POST | /_inference/{inference_id} | Perform inference on the service |
| DELETE | /_inference/{inference_id} | Delete an inference endpoint |
| GET | /_inference/{task_type}/{inference_id} | Get an inference endpoint |
| PUT | /_inference/{task_type}/{inference_id} | Create an inference endpoint |
| POST | /_inference/{task_type}/{inference_id} | Perform inference on the service |
| DELETE | /_inference/{task_type}/{inference_id} | Delete an inference endpoint |
| POST | /_inference/embedding/{inference_id} | Perform dense embedding inference on the service |
| GET | /_inference | Get an inference endpoint |
| GET | /_inference/{task_type}/_all | Get an inference endpoint |
| PUT | /_inference/{task_type}/{ai21_inference_id} | Create a AI21 inference endpoint |
| PUT | /_inference/{task_type}/{alibabacloud_inference_id} | Create an AlibabaCloud AI Search inference endpoint |
| PUT | /_inference/{task_type}/{amazonbedrock_inference_id} | Create an Amazon Bedrock inference endpoint |
| PUT | /_inference/{task_type}/{amazonsagemaker_inference_id} | Create an Amazon SageMaker inference endpoint |
| PUT | /_inference/{task_type}/{anthropic_inference_id} | Create an Anthropic inference endpoint |
| PUT | /_inference/{task_type}/{azureaistudio_inference_id} | Create an Azure AI studio inference endpoint |
| PUT | /_inference/{task_type}/{azureopenai_inference_id} | Create an Azure OpenAI inference endpoint |
| PUT | /_inference/{task_type}/{cohere_inference_id} | Create a Cohere inference endpoint |
| PUT | /_inference/{task_type}/{contextualai_inference_id} | Create an Contextual AI inference endpoint |
| PUT | /_inference/{task_type}/{custom_inference_id} | Create a custom inference endpoint |
| PUT | /_inference/{task_type}/{deepseek_inference_id} | Create a DeepSeek inference endpoint |
| PUT | /_inference/{task_type}/{elasticsearch_inference_id} | Create an Elasticsearch inference endpoint |
| PUT | /_inference/{task_type}/{elser_inference_id} | Create an ELSER inference endpoint |
| PUT | /_inference/{task_type}/{googleaistudio_inference_id} | Create an Google AI Studio inference endpoint |
| PUT | /_inference/{task_type}/{googlevertexai_inference_id} | Create a Google Vertex AI inference endpoint |
| PUT | /_inference/{task_type}/{groq_inference_id} | Create a Groq inference endpoint |
| PUT | /_inference/{task_type}/{huggingface_inference_id} | Create a Hugging Face inference endpoint |
| PUT | /_inference/{task_type}/{jinaai_inference_id} | Create an JinaAI inference endpoint |
| PUT | /_inference/{task_type}/{llama_inference_id} | Create a Llama inference endpoint |
| PUT | /_inference/{task_type}/{mistral_inference_id} | Create a Mistral inference endpoint |
| PUT | /_inference/{task_type}/{nvidia_inference_id} | Create an Nvidia inference endpoint |
| PUT | /_inference/{task_type}/{openai_inference_id} | Create an OpenAI inference endpoint |
| PUT | /_inference/{task_type}/{openshiftai_inference_id} | Create an OpenShift AI inference endpoint |
| PUT | /_inference/{task_type}/{voyageai_inference_id} | Create a VoyageAI inference endpoint |
| PUT | /_inference/{task_type}/{watsonx_inference_id} | Create a Watsonx inference endpoint |
| POST | /_inference/rerank/{inference_id} | Perform reranking inference on the service |
| POST | /_inference/sparse_embedding/{inference_id} | Perform sparse embedding inference on the service |
| POST | /_inference/completion/{inference_id}/_stream | Perform streaming completion inference on the service |
| POST | /_inference/text_embedding/{inference_id} | Perform text embedding inference on the service |
| PUT | /_inference/{inference_id}/_update | Update an inference endpoint |
| PUT | /_inference/{task_type}/{inference_id}/_update | Update an inference endpoint |

### root
| Method | Path | Description |
|--------|------|-------------|
| GET | / | Get cluster info |
| HEAD | / | Ping the cluster |

### _ingest
| Method | Path | Description |
|--------|------|-------------|
| GET | /_ingest/geoip/database/{id} | Get GeoIP database configurations |
| PUT | /_ingest/geoip/database/{id} | Create or update a GeoIP database configuration |
| DELETE | /_ingest/geoip/database/{id} | Delete GeoIP database configurations |
| GET | /_ingest/ip_location/database/{id} | Get IP geolocation database configurations |
| PUT | /_ingest/ip_location/database/{id} | Create or update an IP geolocation database configuration |
| DELETE | /_ingest/ip_location/database/{id} | Delete IP geolocation database configurations |
| GET | /_ingest/pipeline/{id} | Get pipelines |
| PUT | /_ingest/pipeline/{id} | Create or update a pipeline |
| DELETE | /_ingest/pipeline/{id} | Delete pipelines |
| GET | /_ingest/geoip/stats | Get GeoIP statistics |
| GET | /_ingest/geoip/database | Get GeoIP database configurations |
| GET | /_ingest/ip_location/database | Get IP geolocation database configurations |
| GET | /_ingest/pipeline | Get pipelines |
| GET | /_ingest/processor/grok | Run a grok processor |
| GET | /_ingest/pipeline/_simulate | Simulate a pipeline |
| POST | /_ingest/pipeline/_simulate | Simulate a pipeline |
| GET | /_ingest/pipeline/{id}/_simulate | Simulate a pipeline |
| POST | /_ingest/pipeline/{id}/_simulate | Simulate a pipeline |
| GET | /_ingest/_simulate | Simulate data ingestion |
| POST | /_ingest/_simulate | Simulate data ingestion |
| GET | /_ingest/{index}/_simulate | Simulate data ingestion |
| POST | /_ingest/{index}/_simulate | Simulate data ingestion |

### _license
| Method | Path | Description |
|--------|------|-------------|
| GET | /_license | Get license information |
| PUT | /_license | Update the license |
| POST | /_license | Update the license |
| DELETE | /_license | Delete the license |
| GET | /_license/basic_status | Get the basic license status |
| GET | /_license/trial_status | Get the trial status |
| POST | /_license/start_basic | Start a basic license |
| POST | /_license/start_trial | Start a trial |

### _logstash
| Method | Path | Description |
|--------|------|-------------|
| GET | /_logstash/pipeline/{id} | Get Logstash pipelines |
| PUT | /_logstash/pipeline/{id} | Create or update a Logstash pipeline |
| DELETE | /_logstash/pipeline/{id} | Delete a Logstash pipeline |
| GET | /_logstash/pipeline | Get Logstash pipelines |

### _mget
| Method | Path | Description |
|--------|------|-------------|
| GET | /_mget | Get multiple documents |
| POST | /_mget | Get multiple documents |

### _ml
| Method | Path | Description |
|--------|------|-------------|
| POST | /_ml/trained_models/{model_id}/deployment/cache/_clear | Clear trained model deployment cache |
| POST | /_ml/anomaly_detectors/{job_id}/_close | Close anomaly detection jobs |
| GET | /_ml/calendars/{calendar_id} | Get calendar configuration info |
| PUT | /_ml/calendars/{calendar_id} | Create a calendar |
| POST | /_ml/calendars/{calendar_id} | Get calendar configuration info |
| DELETE | /_ml/calendars/{calendar_id} | Delete a calendar |
| DELETE | /_ml/calendars/{calendar_id}/events/{event_id} | Delete events from a calendar |
| PUT | /_ml/calendars/{calendar_id}/jobs/{job_id} | Add anomaly detection job to calendar |
| DELETE | /_ml/calendars/{calendar_id}/jobs/{job_id} | Delete anomaly jobs from a calendar |
| GET | /_ml/data_frame/analytics/{id} | Get data frame analytics job configuration info |
| PUT | /_ml/data_frame/analytics/{id} | Create a data frame analytics job |
| DELETE | /_ml/data_frame/analytics/{id} | Delete a data frame analytics job |
| GET | /_ml/datafeeds/{datafeed_id} | Get datafeeds configuration info |
| PUT | /_ml/datafeeds/{datafeed_id} | Create a datafeed |
| DELETE | /_ml/datafeeds/{datafeed_id} | Delete a datafeed |
| DELETE | /_ml/_delete_expired_data/{job_id} | Delete expired ML data |
| DELETE | /_ml/_delete_expired_data | Delete expired ML data |
| GET | /_ml/filters/{filter_id} | Get filters |
| PUT | /_ml/filters/{filter_id} | Create a filter |
| DELETE | /_ml/filters/{filter_id} | Delete a filter |
| POST | /_ml/anomaly_detectors/{job_id}/_forecast | Predict future behavior of a time series |
| DELETE | /_ml/anomaly_detectors/{job_id}/_forecast | Delete forecasts from a job |
| DELETE | /_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id} | Delete forecasts from a job |
| GET | /_ml/anomaly_detectors/{job_id} | Get anomaly detection jobs configuration info |
| PUT | /_ml/anomaly_detectors/{job_id} | Create an anomaly detection job |
| DELETE | /_ml/anomaly_detectors/{job_id} | Delete an anomaly detection job |
| GET | /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} | Get model snapshots info |
| POST | /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} | Get model snapshots info |
| DELETE | /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id} | Delete a model snapshot |
| GET | /_ml/trained_models/{model_id} | Get trained model configuration info |
| PUT | /_ml/trained_models/{model_id} | Create a trained model |
| DELETE | /_ml/trained_models/{model_id} | Delete an unreferenced trained model |
| PUT | /_ml/trained_models/{model_id}/model_aliases/{model_alias} | Create or update a trained model alias |
| DELETE | /_ml/trained_models/{model_id}/model_aliases/{model_alias} | Delete a trained model alias |
| POST | /_ml/anomaly_detectors/_estimate_model_memory | Estimate job model memory usage |
| POST | /_ml/data_frame/_evaluate | Evaluate data frame analytics |
| GET | /_ml/data_frame/analytics/_explain | Explain data frame analytics config |
| POST | /_ml/data_frame/analytics/_explain | Explain data frame analytics config |
| GET | /_ml/data_frame/analytics/{id}/_explain | Explain data frame analytics config |
| POST | /_ml/data_frame/analytics/{id}/_explain | Explain data frame analytics config |
| POST | /_ml/anomaly_detectors/{job_id}/_flush | Force buffered data to be processed |
| GET | /_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp} | Get anomaly detection job results for buckets |
| POST | /_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp} | Get anomaly detection job results for buckets |
| GET | /_ml/anomaly_detectors/{job_id}/results/buckets | Get anomaly detection job results for buckets |
| POST | /_ml/anomaly_detectors/{job_id}/results/buckets | Get anomaly detection job results for buckets |
| GET | /_ml/calendars/{calendar_id}/events | Get info about events in calendars |
| POST | /_ml/calendars/{calendar_id}/events | Add scheduled events to the calendar |
| GET | /_ml/calendars | Get calendar configuration info |
| POST | /_ml/calendars | Get calendar configuration info |
| GET | /_ml/anomaly_detectors/{job_id}/results/categories/{category_id} | Get anomaly detection job results for categories |
| POST | /_ml/anomaly_detectors/{job_id}/results/categories/{category_id} | Get anomaly detection job results for categories |
| GET | /_ml/anomaly_detectors/{job_id}/results/categories | Get anomaly detection job results for categories |
| POST | /_ml/anomaly_detectors/{job_id}/results/categories | Get anomaly detection job results for categories |
| GET | /_ml/data_frame/analytics | Get data frame analytics job configuration info |
| GET | /_ml/data_frame/analytics/_stats | Get data frame analytics job stats |
| GET | /_ml/data_frame/analytics/{id}/_stats | Get data frame analytics job stats |
| GET | /_ml/datafeeds/{datafeed_id}/_stats | Get datafeed stats |
| GET | /_ml/datafeeds/_stats | Get datafeed stats |
| GET | /_ml/datafeeds | Get datafeeds configuration info |
| GET | /_ml/filters | Get filters |
| GET | /_ml/anomaly_detectors/{job_id}/results/influencers | Get anomaly detection job results for influencers |
| POST | /_ml/anomaly_detectors/{job_id}/results/influencers | Get anomaly detection job results for influencers |
| GET | /_ml/anomaly_detectors/_stats | Get anomaly detection job stats |
| GET | /_ml/anomaly_detectors/{job_id}/_stats | Get anomaly detection job stats |
| GET | /_ml/anomaly_detectors | Get anomaly detection jobs configuration info |
| GET | /_ml/memory/_stats | Get machine learning memory usage info |
| GET | /_ml/memory/{node_id}/_stats | Get machine learning memory usage info |
| GET | /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats | Get anomaly detection job model snapshot upgrade usage info |
| GET | /_ml/anomaly_detectors/{job_id}/model_snapshots | Get model snapshots info |
| POST | /_ml/anomaly_detectors/{job_id}/model_snapshots | Get model snapshots info |
| GET | /_ml/anomaly_detectors/{job_id}/results/overall_buckets | Get overall bucket results |
| POST | /_ml/anomaly_detectors/{job_id}/results/overall_buckets | Get overall bucket results |
| GET | /_ml/anomaly_detectors/{job_id}/results/records | Get anomaly records for an anomaly detection job |
| POST | /_ml/anomaly_detectors/{job_id}/results/records | Get anomaly records for an anomaly detection job |
| GET | /_ml/trained_models | Get trained model configuration info |
| GET | /_ml/trained_models/{model_id}/_stats | Get trained models usage info |
| GET | /_ml/trained_models/_stats | Get trained models usa

…(truncated)
