Elastic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Elasticsearch Esql API

8 actions 8 updates phrasing extends openapi/elastic-esql-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/_query/async'].post
$.paths['/_query/async/{id}'].get
$.paths['/_query/async/{id}'].delete
$.paths['/_query/async/{id}/stop'].post
$.paths['/_query/queries/{id}'].get
$.paths['/_query/queries'].get
$.paths['/_query'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Elasticsearch Esql API
  version: 1.0.0
extends: openapi/elastic-esql-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: 7
- target: $.paths['/_query/async'].post
  update:
    x-apievangelist-phrasing:
      intent: Run an async ES|QL query
      effect: write
      questions:
      - How do I run a long ES|QL query without waiting for it?
      - Can I keep async query results after completion?
      instructions:
      - text: Start async ES|QL query {query}.
        slots:
          query: requestBody.query
      - text: Run {query} asynchronously and wait up to {wait}.
        slots:
          query: requestBody.query
          wait: requestBody.wait_for_completion_timeout
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_query/async/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get async ES|QL query results
      effect: read
      questions:
      - Has my async ES|QL query finished?
      - Can I get async results in CSV format?
      instructions:
      - text: Get results of async query {id}.
        slots:
          id: path.id
      - text: Fetch async ES|QL results {id} as {format}.
        slots:
          id: path.id
          format: query.format
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_query/async/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an async ES|QL query
      effect: destructive
      questions:
      - How do I cancel and discard an async ES|QL query?
      - Can I delete stored async results?
      instructions:
      - text: Delete async ES|QL query {id}.
        slots:
          id: path.id
      - text: Discard async query results {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_query/async/{id}/stop'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop an async ES|QL query
      effect: write
      questions:
      - Can I stop an async query and keep partial results?
      - How do I halt a running async ES|QL search?
      instructions:
      - text: Stop async ES|QL query {id}.
        slots:
          id: path.id
      - text: Stop query {id} and return what it has so far.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_query/queries/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a running ES|QL query
      effect: read
      questions:
      - What is a specific running ES|QL query doing?
      - Can I look up one running query by ID?
      instructions:
      - text: Show running ES|QL query {id}.
        slots:
          id: path.id
      - text: Get info on running query {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_query/queries'].get
  update:
    x-apievangelist-phrasing:
      intent: List running ES|QL queries
      effect: read
      questions:
      - Which ES|QL queries are running right now?
      - Can I see all in-flight queries?
      instructions:
      - text: List running ES|QL queries.
      - text: Show all in-flight ES|QL queries.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_query'].post
  update:
    x-apievangelist-phrasing:
      intent: Run an ES|QL query
      effect: read
      questions:
      - How do I query my data with ES|QL and get results right away?
      - Can ES|QL return results as CSV or columnar?
      instructions:
      - text: Run ES|QL query {query}.
        slots:
          query: requestBody.query
      - text: Run {query} and return {format}.
        slots:
          query: requestBody.query
          format: query.format
      method: generated
      generated: '2026-11-17'

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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-esql-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.