Elastic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Elastic Search API
56 actions
56 updates
phrasing
extends
openapi/elastic-search-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Elastic's API. It is a proposal applied on top of the contract, not a document Elastic publishes.
What the actions change
x-apievangelist-phrasing
Targets 56 · first 16 shown; the file carries all of them
$.info
$.paths['/_search'].get
$.paths['/_search'].post
$.paths['/{index}/_search'].get
$.paths['/{index}/_search'].post
$.paths['/_async_search/{id}'].get
$.paths['/_async_search/{id}'].delete
$.paths['/_async_search/status/{id}'].get
$.paths['/_async_search'].post
$.paths['/{index}/_async_search'].post
$.paths['/_search/scroll'].get
$.paths['/_search/scroll'].post
$.paths['/_search/scroll'].delete
$.paths['/_search/scroll/{scroll_id}'].get
$.paths['/_search/scroll/{scroll_id}'].post
$.paths['/_search/scroll/{scroll_id}'].delete
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Elastic Search API
version: 1.0.0
extends: openapi/elastic-search-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 55
- target: $.paths['/_search'].get
update:
x-apievangelist-phrasing:
intent: Search every index with a quick text query
effect: read
questions:
- Can I run a quick keyword lookup across every index in my cluster from the URL?
- How many hits come back from a simple q= search over all indices?
instructions:
- text: Do a quick query-string search for {q} across all indices.
slots:
q: query.q
- text: Search all indices for {q} and return {size} hits.
slots:
q: query.q
size: query.size
method: generated
generated: '2026-11-17'
- target: $.paths['/_search'].post
update:
x-apievangelist-phrasing:
intent: Run a full query DSL search across the cluster
effect: read
questions:
- How do I send a query DSL body with aggregations to search the whole cluster in Elasticsearch?
- Can I get highlighted hits and aggregations from every index in one POST search?
instructions:
- text: POST a search across the cluster using the query {query}.
slots:
query: requestBody.query
- text: Search the whole cluster with query {query} and aggregations {aggregations}.
slots:
query: requestBody.query
aggregations: requestBody.aggregations
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_search'].get
update:
x-apievangelist-phrasing:
intent: Search one index with a quick text query
effect: read
questions:
- What's the fastest way to look up a keyword in just one index?
- Can I search a single index using only a q= parameter in the URL?
instructions:
- text: Do a quick query-string search of index {index}.
slots:
index: path.index
- text: Look up {q} in index {index} with a simple URL search.
slots:
index: path.index
q: query.q
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_search'].post
update:
x-apievangelist-phrasing:
intent: Run a full query DSL search on an index
effect: read
questions:
- How do I POST a query DSL body against one specific index?
- Can I run a kNN or aggregation search scoped to a single index?
instructions:
- text: POST a query DSL search to index {index}.
slots:
index: path.index
- text: Search index {index} with query {query} and sort by {sort}.
slots:
index: path.index
query: requestBody.query
sort: requestBody.sort
method: generated
generated: '2026-11-17'
- target: $.paths['/_async_search/{id}'].get
update:
x-apievangelist-phrasing:
intent: Fetch results of an async search
effect: read
questions:
- How do I retrieve the hits from an async search I submitted earlier?
- Can I pick up partial results of a long-running async search?
instructions:
- text: Get the results of async search {id}.
slots:
id: path.id
- text: Fetch whatever hits async search {id} has collected so far.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/_async_search/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an async search and its results
effect: destructive
questions:
- How do I cancel a running async search and throw away its stored results?
- What happens to stored results when I delete an async search?
instructions:
- text: Delete async search {id}.
slots:
id: path.id
- text: Cancel async search {id} and discard its saved results.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/_async_search/status/{id}'].get
update:
x-apievangelist-phrasing:
intent: Check whether an async search is finished
effect: read
questions:
- Is my async search still running, without downloading its hits?
- Can I check completion status of an async search cheaply?
instructions:
- text: Check the status of async search {id}.
slots:
id: path.id
- text: Tell me if async search {id} has completed yet.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/_async_search'].post
update:
x-apievangelist-phrasing:
intent: Start an async search across the cluster
effect: write
questions:
- How do I kick off a long-running search across all indices without waiting for it?
- Can I submit a search that keeps running in the background cluster-wide?
instructions:
- text: Submit an async search across all indices with query {query}.
slots:
query: requestBody.query
- text: Start a background search of the whole cluster.
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_async_search'].post
update:
x-apievangelist-phrasing:
intent: Start an async search on an index
effect: write
questions:
- How do I submit a background search against one slow, large index?
- Can I scope an async search to a specific index pattern?
instructions:
- text: Submit an async search on index {index}.
slots:
index: path.index
- text: Start a background search of {index} using query {query}.
slots:
index: path.index
query: requestBody.query
method: generated
generated: '2026-11-17'
- target: $.paths['/_search/scroll'].get
update:
x-apievangelist-phrasing:
intent: Get the next scroll batch via GET
effect: read
questions:
- Can I page through a scroll with a GET request carrying the scroll ID in the body?
- How do I fetch the next page of a scroll search using GET?
instructions:
- text: Fetch the next scroll batch for scroll ID {scroll_id} using GET.
slots:
scroll_id: requestBody.scroll_id
- text: Use GET to continue scroll {scroll_id} for another {scroll}.
slots:
scroll_id: requestBody.scroll_id
scroll: requestBody.scroll
method: generated
generated: '2026-11-17'
- target: $.paths['/_search/scroll'].post
update:
x-apievangelist-phrasing:
intent: Get the next scroll batch via POST
effect: read
questions:
- How do I keep paging a large result set with scroll in Elasticsearch?
- Can I extend the scroll keep-alive while fetching the next batch?
instructions:
- text: POST scroll ID {scroll_id} to get the next batch of hits.
slots:
scroll_id: requestBody.scroll_id
- text: Continue scroll {scroll_id} and keep it alive for {scroll}.
slots:
scroll_id: requestBody.scroll_id
scroll: requestBody.scroll
method: generated
generated: '2026-11-17'
- target: $.paths['/_search/scroll'].delete
update:
x-apievangelist-phrasing:
intent: Clear scroll contexts
effect: destructive
questions:
- How do I free the resources held by scroll searches I'm done with?
- Can I clear several scroll contexts at once with a body?
instructions:
- text: Clear the scroll context {scroll_id}.
slots:
scroll_id: requestBody.scroll_id
- text: Release all my open scroll contexts.
method: generated
generated: '2026-11-17'
- target: $.paths['/_search/scroll/{scroll_id}'].get
update:
x-apievangelist-phrasing:
intent: Get the next scroll batch by ID in the path (GET)
effect: read
questions:
- Can I put the scroll ID in the URL path when fetching the next batch with GET?
- Which scroll call takes the ID as a path segment over GET?
instructions:
- text: GET the next batch for scroll {scroll_id} passing the ID in the path.
slots:
scroll_id: path.scroll_id
- text: With GET, page scroll {scroll_id} from the path and keep it alive {scroll}.
slots:
scroll_id: path.scroll_id
scroll: requestBody.scroll
method: generated
generated: '2026-11-17'
- target: $.paths['/_search/scroll/{scroll_id}'].post
update:
x-apievangelist-phrasing:
intent: Get the next scroll batch by ID in the path (POST)
effect: read
questions:
- Can I POST to a scroll URL that includes the scroll ID in the path?
- Which scroll endpoint accepts the ID in the path over POST?
instructions:
- text: POST to the path-based scroll endpoint for {scroll_id}.
slots:
scroll_id: path.scroll_id
- text: Page path-style scroll {scroll_id} via POST, extending it {scroll}.
slots:
scroll_id: path.scroll_id
scroll: requestBody.scroll
method: generated
generated: '2026-11-17'
- target: $.paths['/_search/scroll/{scroll_id}'].delete
update:
x-apievangelist-phrasing:
intent: Clear one scroll context by ID in the path
effect: destructive
questions:
- Can I delete a single scroll context by putting its ID in the URL?
- How do I clear a specific scroll using the path form?
instructions:
- text: Clear scroll {scroll_id} via the path-based endpoint.
slots:
scroll_id: path.scroll_id
- text: Delete the scroll context named {scroll_id} in the URL.
slots:
scroll_id: path.scroll_id
method: generated
generated: '2026-11-17'
- target: $.paths['/_pit'].delete
update:
x-apievangelist-phrasing:
intent: Close a point in time
effect: destructive
questions:
- How do I release a point-in-time I opened for paginated search?
- Do open point-in-time snapshots keep segments alive until I close them?
instructions:
- text: Close point in time {id}.
slots:
id: requestBody.id
- text: Release the PIT {id} so its resources are freed.
slots:
id: requestBody.id
method: generated
generated: '2026-11-17'
- target: $.paths['/_count'].get
update:
x-apievangelist-phrasing:
intent: Count matching documents cluster-wide via GET
effect: read
questions:
- Can I count documents across all indices with a simple GET?
- How many documents exist in the whole cluster right now?
instructions:
- text: GET a count of all documents across the cluster.
- text: GET how many docs match q={q} cluster-wide.
slots:
q: query.q
method: generated
generated: '2026-11-17'
- target: $.paths['/_count'].post
update:
x-apievangelist-phrasing:
intent: Count documents matching a query cluster-wide
effect: read
questions:
- How do I count documents across every index that match a query body?
- Can I get just a hit count instead of hits for a cluster-wide query?
instructions:
- text: Count documents in all indices matching {query}.
slots:
query: requestBody.query
- text: Tell me how many documents across all indices satisfy {query}.
slots:
query: requestBody.query
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_count'].get
update:
x-apievangelist-phrasing:
intent: Count documents in an index via GET
effect: read
questions:
- How many documents are in a given index?
- Can I get a document count for one index with a plain GET?
instructions:
- text: GET the document count for index {index}.
slots:
index: path.index
- text: GET how many docs in {index} match q={q}.
slots:
index: path.index
q: query.q
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_count'].post
update:
x-apievangelist-phrasing:
intent: Count documents in an index matching a query
effect: read
questions:
- How many documents in one index match a specific query?
- Can I count filtered results in an index without returning them?
instructions:
- text: Count documents in {index} that match {query}.
slots:
index: path.index
query: requestBody.query
- text: How many hits for {query} in index {index} — count them.
slots:
index: path.index
query: requestBody.query
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_explain/{id}'].get
update:
x-apievangelist-phrasing:
intent: Explain a document's score via GET
effect: read
questions:
- Can I see why one document matched with a GET explain call?
- Which call explains scoring using a URL query instead of a body?
instructions:
- text: GET a scoring explanation for document {id} in {index}.
slots:
index: path.index
id: path.id
- text: Use GET to show why doc {id} in {index} matches q={q}.
slots:
index: path.index
id: path.id
q: query.q
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_explain/{id}'].post
update:
x-apievangelist-phrasing:
intent: Explain why a document matches a query
effect: read
questions:
- Why did a particular document match (or not match) my query?
- How is the relevance score for one document computed?
instructions:
- text: Explain how document {id} in {index} scores against {query}.
slots:
index: path.index
id: path.id
query: requestBody.query
- text: Tell me why document {id} in {index} did not match {query}.
slots:
index: path.index
id: path.id
query: requestBody.query
method: generated
generated: '2026-11-17'
- target: $.paths['/_field_caps'].get
update:
x-apievangelist-phrasing:
intent: Get field capabilities cluster-wide via GET
effect: read
questions:
- Can I list which fields are searchable and aggregatable across all indices with GET?
- Which field types exist across my whole cluster?
instructions:
- text: GET field capabilities across all indices.
- text: GET capabilities of fields {fields} cluster-wide via the query string.
slots:
fields: query.fields
method: generated
generated: '2026-11-17'
- target: $.paths['/_field_caps'].post
update:
x-apievangelist-phrasing:
intent: Get capabilities for chosen fields cluster-wide
effect: read
questions:
- Is a given field aggregatable in every index it appears in?
- Can I filter field capabilities with an index filter in the body?
instructions:
- text: POST a field list {fields} to get capabilities across every index.
slots:
fields: requestBody.fields
- text: Check cluster-wide field capabilities for indices matching {index_filter}.
slots:
index_filter: requestBody.index_filter
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_field_caps'].get
update:
x-apievangelist-phrasing:
intent: Get an index's field capabilities via GET
effect: read
questions:
- What fields does one index have and how can they be queried?
- Can I GET field capabilities scoped to a single index?
instructions:
- text: GET field capabilities for index {index}.
slots:
index: path.index
- text: GET capabilities of fields {fields} in {index} via query string.
slots:
index: path.index
fields: query.fields
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_field_caps'].post
update:
x-apievangelist-phrasing:
intent: Get capabilities for chosen fields in an index
effect: read
questions:
- Is a specific field searchable in a particular index?
- Can I POST a field list to check capabilities in one index?
instructions:
- text: Check field capabilities of {fields} in index {index}.
slots:
index: path.index
fields: requestBody.fields
- text: POST an index filter {index_filter} to check field caps in {index}.
slots:
index: path.index
index_filter: requestBody.index_filter
method: generated
generated: '2026-11-17'
- target: $.paths['/_msearch'].get
update:
x-apievangelist-phrasing:
intent: Run several searches at once via GET
effect: read
questions:
- Can I send a multi-search over GET across all indices?
- Which call runs a batch of searches cluster-wide using GET?
instructions:
- text: GET a multi-search batch across the cluster.
- text: Use GET to run a multi-search across all indices with max {max_concurrent_searches} concurrent.
slots:
max_concurrent_searches: query.max_concurrent_searches
method: generated
generated: '2026-11-17'
- target: $.paths['/_msearch'].post
update:
x-apievangelist-phrasing:
intent: Run a batch of searches in one request
effect: read
questions:
- How do I run many searches in a single round trip?
- Can I send newline-delimited searches against different indices together?
instructions:
- text: Run this batch of searches in one multi-search request.
- text: POST a multi-search covering several indices at once.
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_msearch'].get
update:
x-apievangelist-phrasing:
intent: Run several searches on an index via GET
effect: read
questions:
- Can I GET a multi-search that defaults to one index?
- Which multi-search call uses GET with an index in the path?
instructions:
- text: GET a multi-search batch against index {index}.
slots:
index: path.index
- text: Use GET to batch searches on {index} capped at {max_concurrent_searches} concurrent.
slots:
index: path.index
max_concurrent_searches: query.max_concurrent_searches
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_msearch'].post
update:
x-apievangelist-phrasing:
intent: Run a batch of searches against an index
effect: read
questions:
- How do I batch several queries against the same index?
- Can a multi-search default to one index unless a header overrides it?
instructions:
- text: Run a multi-search batch against index {index}.
slots:
index: path.index
- text: POST several queries for index {index} in one round trip.
slots:
index: path.index
method: generated
generated: '2026-11-17'
- target: $.paths['/_msearch/template'].get
update:
x-apievangelist-phrasing:
intent: Run several templated searches via GET
effect: read
questions:
- Can I GET a batch of search-template executions cluster-wide?
- Which call runs multiple search templates using GET?
instructions:
- text: GET a batch of templated searches across the cluster.
- text: Use GET to execute templated searches cluster-wide.
method: generated
generated: '2026-11-17'
- target: $.paths['/_msearch/template'].post
update:
x-apievangelist-phrasing:
intent: Run a batch of templated searches
effect: read
questions:
- How do I execute several stored search templates in one request?
- Can I pass different params to multiple templates at once?
instructions:
- text: Run multiple search templates in one request.
- text: POST a batch of templated searches across all indices.
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_msearch/template'].get
update:
x-apievangelist-phrasing:
intent: Run several templated searches on an index via GET
effect: read
questions:
- Can I GET multiple template searches scoped to one index?
- Which templated multi-search uses GET with an index path?
instructions:
- text: GET a batch of templated searches on index {index}.
slots:
index: path.index
- text: Use GET to run stored templates in bulk on {index}.
slots:
index: path.index
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_msearch/template'].post
update:
x-apievangelist-phrasing:
intent: Run a batch of templated searches on an index
effect: read
questions:
- How do I run several search templates against one index together?
- Can I batch templated queries for a single index?
instructions:
- text: Run multiple templated searches against index {index}.
slots:
index: path.index
- text: POST several template executions scoped to {index}.
slots:
index: path.index
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_pit'].post
update:
x-apievangelist-phrasing:
intent: Open a point in time on an index
effect: write
questions:
- How do I get a consistent snapshot for deep pagination with search_after?
- How long does a point in time stay alive?
instructions:
- text: Open a point in time on {index} kept alive for {keep_alive}.
slots:
index: path.index
keep_alive: query.keep_alive
- text: Create a PIT for {index} lasting {keep_alive} so I can page consistently.
slots:
index: path.index
keep_alive: query.keep_alive
method: generated
generated: '2026-11-17'
- target: $.paths['/_rank_eval'].get
update:
x-apievangelist-phrasing:
intent: Evaluate search ranking quality via GET
effect: read
questions:
- Can I GET a ranking evaluation across all indices?
- Which rank evaluation call uses GET without an index?
instructions:
- text: GET a ranking evaluation for requests {requests}.
slots:
requests: requestBody.requests
- text: Use GET to score ranking of {requests} with metric {metric} cluster-wide.
slots:
requests: requestBody.requests
metric: requestBody.metric
method: generated
generated: '2026-11-17'
- target: $.paths['/_rank_eval'].post
update:
x-apievangelist-phrasing:
intent: Measure search relevance across the cluster
effect: read
questions:
- How good is my search ranking measured against rated documents?
- Can I compute precision or nDCG for a set of typical queries?
instructions:
- text: Evaluate ranking quality for {requests} using metric {metric}.
slots:
requests: requestBody.requests
metric: requestBody.metric
- text: Compute relevance metrics for my rated queries {requests} across all indices.
slots:
requests: requestBody.requests
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_rank_eval'].get
update:
x-apievangelist-phrasing:
intent: Evaluate an index's ranking via GET
effect: read
questions:
- Can I GET a rank evaluation scoped to one index?
- Which rank evaluation call takes an index over GET?
instructions:
- text: GET a ranking evaluation of {requests} on index {index}.
slots:
index: path.index
requests: requestBody.requests
- text: Use GET to rate ranking on {index} with metric {metric} for {requests}.
slots:
index: path.index
metric: requestBody.metric
requests: requestBody.requests
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_rank_eval'].post
update:
x-apievangelist-phrasing:
intent: Measure search relevance on an index
effect: read
questions:
- How well does one index rank results for my rated queries?
- Can I score relevance metrics for a single index?
instructions:
- text: Evaluate relevance on index {index} for rated requests {requests}.
slots:
index: path.index
requests: requestBody.requests
- text: Score {index} ranking with metric {metric} for {requests}.
slots:
index: path.index
metric: requestBody.metric
requests: requestBody.requests
method: generated
generated: '2026-11-17'
- target: $.paths['/_render/template'].get
update:
x-apievangelist-phrasing:
intent: Render a search template via GET
effect: read
questions:
- Can I preview a rendered template with a GET request?
- Which render-template call uses GET without an ID in the path?
instructions:
- text: GET the rendered query for an inline template source {source}.
slots:
source: requestBody.source
- text: Use GET to expand inline template {source} with {params}.
slots:
source: requestBody.source
params: requestBody.params
method: generated
generated: '2026-11-17'
- target: $.paths['/_render/template'].post
update:
x-apievangelist-phrasing:
intent: Preview the query a template produces
effect: read
questions:
- What query does my search template actually generate with these params?
- Can I debug a mustache search template without running it?
instructions:
- text: Render template source {source} with params {params}.
slots:
source: requestBody.source
params: requestBody.params
- text: Show me the query generated by stored template body id {id}.
slots:
id: requestBody.id
method: generated
generated: '2026-11-17'
- target: $.paths['/_render/template/{id}'].get
update:
x-apievangelist-phrasing:
intent: Render a stored template by ID via GET
effect: read
questions:
- Can I GET the rendered output of a stored template by its ID?
- Which call renders a saved template using GET with an ID path?
instructions:
- text: GET the rendered query of stored template {id}.
slots:
id: path.id
- text: Use GET to expand saved template {id} with {params}.
slots:
id: path.id
params: requestBody.params
method: generated
generated: '2026-11-17'
- target: $.paths['/_render/template/{id}'].post
update:
x-apievangelist-phrasing:
intent: Render a stored template with params
effect: read
questions:
- What does a stored search template expand to with my parameters?
- Can I test a saved template by ID before using it in a search?
instructions:
- text: Render stored template {id} with params {params}.
slots:
id: path.id
params: requestBody.params
- text: Preview what saved template {id} expands to before I search.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_mvt/{field}/{zoom}/{x}/{y}'].get
update:
x-apievangelist-phrasing:
intent: Get a vector tile of geo data via GET
effect: read
questions:
- Can I GET a Mapbox vector tile for a geo field?
- Which vector tile call uses GET for a tile coordinate?
instructions:
- text: GET vector tile {zoom}/{x}/{y} for field {field} in {index}.
slots:
index: path.index
field: path.field
zoom: path.zoom
x: path.x
y: path.y
- text: Use GET to fetch tile z{zoom} x{x} y{y} of {field} from {index}.
slots:
index: path.index
field: path.field
zoom: path.zoom
x: path.x
y: path.y
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_mvt/{field}/{zoom}/{x}/{y}'].post
update:
x-apievangelist-phrasing:
intent: Search geo data as a map vector tile
effect: read
questions:
- How do I render geo_point data from an index as a map tile?
- Can I add aggregations to a vector tile search?
instructions:
- text: Build vector tile {zoom}/{x}/{y} from {field} in {index} with aggregations {aggs}.
slots:
index: path.index
field: path.field
zoom: path.zoom
x: path.x
y: path.y
aggs: requestBody.aggs
- text: POST a vector tile request for {field} in {index} at {zoom}/{x}/{y} with buffer {buffer}.
slots:
index: path.index
field: path.field
zoom: path.zoom
x: path.x
y: path.y
buffer: requestBody.buffer
method: generated
generated: '2026-11-17'
- target: $.paths['/_search_shards'].get
update:
x-apievangelist-phrasing:
intent: List shards a cluster search would hit via GET
effect: read
questions:
- Which nodes and shards would a search across all indices run on?
- Can I GET the shard routing for a cluster-wide search?
instructions:
- text: GET the shards a cluster-wide search would target.
- text: Use GET to show shard routing for a search of all indices with routing {routing}.
slots:
routing: query.routing
method: generated
generated: '2026-11-17'
- target: $.paths['/_search_shards'].post
update:
x-apievangelist-phrasing:
intent: List shards a cluster search would hit via POST
effect: read
questions:
- Can I POST to see shard targeting for a search of all indices?
- Which search-shards call uses POST without an index?
instructions:
- text: POST to list the shards a search across all indices would use.
- text: POST for shard targets of an all-indices search with routing {routing}.
slots:
routing: query.routing
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_search_shards'].get
update:
x-apievangelist-phrasing:
intent: List shards a search on an index would hit
effect: read
questions:
- Which shards and nodes serve searches of one index?
- Can I check routing before searching a particular index?
instructions:
- text: Show the shards a search of {index} would hit.
slots:
index: path.index
- text: Which nodes would serve a search of {index} with routing {routing}.
slots:
index: path.index
routing: query.routing
method: generated
generated: '2026-11-17'
- target: $.paths['/{index}/_search_shards'].post
update:
x-apievangelist-phrasing:
intent: List an index's search shards via POST
effect: read
questions:
- Can I POST to get the search shards for one index?
- Which search-shards call uses POST with an index path?
instructions:
- text: POST to list search shards for index {index}.
slots:
index: path.index
- text: POST for shard targets of {index} with routing {routing}.
slots:
index: path.index
routing: query.routing
method: generated
generated: '2026-11-17'
# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/elastic/overlays/elastic-search-api-phrasing-overlay.yaml
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-search-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.