Elastic Stack (ELK Stack) Enrich API

The enrich API from Elastic Stack (ELK Stack) — 4 operation(s) for enrich.

Operations 6

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 /_enrich/policy/{name} Get an enrich policy by name · Get an enrich policy #
Ask an LLM
“What match fields and source indices does a particular enrich policy use?”
“Can I look up one enrich policy by its name?”
Tell an agent
Show the enrich policy named {name}.
Get the definition of enrich policy {name}.
PUT /_enrich/policy/{name} Create an enrich policy · Create an enrich policy #
Ask an LLM
“How do I create an enrich policy to add lookup data to incoming documents?”
“Can an enrich policy match on geo shapes or ranges instead of exact values?”
Tell an agent
Create enrich policy {name} with the match definition {match}.
Define a geo_match enrich policy called {name} using {geo_match}.
DELETE /_enrich/policy/{name} Delete an enrich policy and its index · Delete an enrich policy #
Ask an LLM
“How do I remove an enrich policy I no longer use?”
“Does deleting an enrich policy also remove its enrich index?”
Tell an agent destructive · confirm first
Delete enrich policy {name}.
Remove enrich policy {name} along with its enrich index.
PUT /_enrich/policy/{name}/_execute Run an enrich policy to build its index · Run an enrich policy #
Ask an LLM
“How do I build or refresh the enrich index after creating an enrich policy?”
“Can I run an enrich policy without waiting for it to finish?”
Tell an agent
Execute enrich policy {name}.
Run enrich policy {name} with wait for completion set to {wait_for_completion}.
GET /_enrich/policy List all enrich policies · Get an enrich policy #
Ask an LLM
“Which enrich policies exist on my cluster?”
“Can I see every enrich policy in one call?”
Tell an agent
List all enrich policies.
Show every enrich policy, waiting up to {master_timeout} for the master.
GET /_enrich/_stats Get enrich coordinator stats · Get enrich stats #
Ask an LLM
“Which enrich policies are executing right now?”
“What statistics do the enrich coordinators report?”
Tell an agent
Show enrich coordinator statistics.
Get enrich stats including currently executing policies.

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/elk-stack:elk-stack-enrich-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-enrich-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Request & Response Specification Enrich API
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
tags:


# --- truncated at 32 KB (336 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-enrich-api-openapi.yml