Elastic Eql API

Event Query Language (EQL) is a query language for event-based time series data, such as logs, metrics, and traces.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /_eql/search/{id} Get results of an async EQL search · Get async EQL search results #
Ask an LLM
“How do I fetch results of an EQL search that ran in the background?”
“Can I wait a while for an async EQL search to finish?”
Tell an agent
Get the results of EQL search {id}.
Fetch EQL search {id}, waiting up to {wait_for_completion_timeout}.
DELETE /_eql/search/{id} Delete an async EQL search · Delete an async EQL search #
Ask an LLM
“How do I cancel an EQL search and drop its stored results?”
“Can I delete a saved async EQL search?”
Tell an agent destructive · confirm first
Delete EQL search {id}.
Cancel async EQL search {id} and remove its results.
GET /_eql/search/status/{id} Check an async EQL search's status · Get the async EQL status #
Ask an LLM
“Is my EQL search done yet?”
“Can I check EQL progress without pulling results?”
Tell an agent
Check the status of EQL search {id}.
Tell me if EQL search {id} has finished.
POST /{index}/_eql/search Search event data with an EQL query · Get EQL search results #
Ask an LLM
“How do I find event sequences like a process start followed by a network connection?”
“Can I set a custom timestamp field for an EQL query?”
Tell an agent
Run EQL query {query} against {index}.
Search {index} with EQL {query} using timestamp field {timestamp_field}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/elastic:elastic-eql-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

elastic-eql-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Eql API
  description: 'Elasticsearch provides REST APIs that are used by the UI components and can be called directly to configure and access Elasticsearch features.

    ## Documentation source and versions

    This documentation is derived from the main branch of the elasticsearch-specification repository. It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.

    This documentation contains work-in-progress information for future Elastic Stack releases.'
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
security:
- apiKeyAuth: []
- basicAuth: []
- bearerAuth: []
tags:


# --- truncated at 32 KB (375 KB total) ---
# Full source: https://artifacts.apis.io/elastic/openapi/elastic-eql-api-openapi.yml