Elastic Ingest API

Ingest APIs enable you to manage tasks and resources related to ingest pipelines and processors.

GitHub OpenAPI

Operations 22

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 /_ingest/geoip/database/{id} Get a GeoIP database configuration · Get GeoIP database configurations #
Ask an LLM
“What MaxMind settings does a specific GeoIP database config use?”
“Can I look up one GeoIP database configuration by ID?”
Tell an agent
Show GeoIP database configuration {id}.
Get the MaxMind GeoIP config with ID {id}.
PUT /_ingest/geoip/database/{id} Create or update a GeoIP database configuration · Create or update a GeoIP database configuration #
Ask an LLM
“How do I register a MaxMind GeoIP database for my ingest pipelines?”
“Can I change which MaxMind database a GeoIP config downloads?”
Tell an agent
Create GeoIP database config {id} for database {name} using MaxMind settings {maxmind}.
Point GeoIP config {id} at MaxMind database {name}.
DELETE /_ingest/geoip/database/{id} Delete a GeoIP database configuration · Delete GeoIP database configurations #
Ask an LLM
“How do I remove a MaxMind GeoIP database configuration I no longer need?”
“Can I delete a GeoIP config by its ID?”
Tell an agent destructive · confirm first
Delete GeoIP database configuration {id}.
Remove the MaxMind GeoIP config {id}.
GET /_ingest/ip_location/database/{id} Get an IP location database configuration · Get IP geolocation database configurations #
Ask an LLM
“Which provider settings does one IP geolocation database config use?”
“Can I fetch a single IP location database configuration?”
Tell an agent
Show IP location database configuration {id}.
Get IP geolocation database config {id}.
PUT /_ingest/ip_location/database/{id} Create or update an IP location database configuration · Create or update an IP geolocation database configuration #
Ask an LLM
“How do I add an IPinfo database for IP geolocation in ingest?”
“Can an IP location database config use either MaxMind or IPinfo?”
Tell an agent
Create IP location database config {id} for database {name}.
Configure IP location database {id} named {name} with IPinfo settings {ipinfo}.
DELETE /_ingest/ip_location/database/{id} Delete an IP location database configuration · Delete IP geolocation database configurations #
Ask an LLM
“How do I delete an IP geolocation database config?”
“Can I remove an IPinfo database configuration by ID?”
Tell an agent destructive · confirm first
Delete IP location database configuration {id}.
Remove IP geolocation database config {id}.
GET /_ingest/pipeline/{id} Get an ingest pipeline by ID · Get pipelines #
Ask an LLM
“What processors are in my logs ingest pipeline?”
“Can I get just a summary of one pipeline without its processors?”
Tell an agent
Show ingest pipeline {id}.
Get a summary of ingest pipeline {id} with summary set to {summary}.
PUT /_ingest/pipeline/{id} Create or update an ingest pipeline · Create or update a pipeline #
Ask an LLM
“How do I build an ingest pipeline that parses and enriches documents before indexing?”
“Can I add on_failure handlers to an ingest pipeline?”
Tell an agent
Create ingest pipeline {id} with processors {processors}.
Update pipeline {id} only if its version is {if_version}.
DELETE /_ingest/pipeline/{id} Delete an ingest pipeline · Delete pipelines #
Ask an LLM
“How do I delete an ingest pipeline I no longer use?”
“Can I delete several ingest pipelines with a wildcard?”
Tell an agent destructive · confirm first
Delete ingest pipeline {id}.
Remove the ingest pipelines matching {id}.
GET /_ingest/geoip/stats Show GeoIP download statistics · Get GeoIP statistics #
Ask an LLM
“Have my GeoIP databases downloaded successfully?”
“How many GeoIP database downloads have failed?”
Tell an agent
Show GeoIP downloader statistics.
Report GeoIP database download successes and failures.
GET /_ingest/geoip/database List GeoIP database configurations · Get GeoIP database configurations #
Ask an LLM
“Which GeoIP database configurations are set up in my cluster?”
“Do I have any MaxMind GeoIP databases configured?”
Tell an agent
List all GeoIP database configurations.
Show every MaxMind GeoIP config in the cluster.
GET /_ingest/ip_location/database List IP location database configurations · Get IP geolocation database configurations #
Ask an LLM
“Which IP geolocation databases are configured for ingest?”
“Are any IPinfo databases registered in my cluster?”
Tell an agent
List all IP location database configurations.
Show every IP geolocation database config.
GET /_ingest/pipeline List all ingest pipelines · Get pipelines #
Ask an LLM
“What ingest pipelines exist in my cluster?”
“Can I list pipelines in summary form only?”
Tell an agent
List all ingest pipelines.
List every ingest pipeline with summary set to {summary}.
GET /_ingest/processor/grok List built-in grok patterns · Run a grok processor #
Ask an LLM
“Which built-in grok patterns can I use in a grok processor?”
“Is there a list of the predefined grok expressions?”
Tell an agent
List the built-in grok patterns.
Show me every predefined grok pattern available to pipelines.
GET /_ingest/pipeline/_simulate Test an inline pipeline against sample docs · Simulate a pipeline #
Ask an LLM
“Can I try out an ingest pipeline definition on sample documents before creating it?”
“How do I see each processor's output while testing a pipeline?”
Tell an agent
Simulate inline pipeline {pipeline} on these docs {docs}.
Run sample docs {docs} through an inline pipeline with verbose set to {verbose}.
POST /_ingest/pipeline/_simulate Test an inline pipeline against sample docs via POST · Simulate a pipeline #
Ask an LLM
“Is there a POST form of the pipeline simulate endpoint for an inline definition?”
“Can I POST sample documents with a draft pipeline to see the result?”
Tell an agent
POST a simulate request with draft pipeline {pipeline} and docs {docs}.
Use POST to test these documents {docs} against an unsaved pipeline.
GET /_ingest/pipeline/{id}/_simulate Test an existing pipeline against sample docs · Simulate a pipeline #
Ask an LLM
“How would my saved geoip pipeline transform this sample document?”
“Can I dry-run an existing pipeline by ID without indexing anything?”
Tell an agent
Simulate saved pipeline {id} on docs {docs}.
Dry-run pipeline {id} on {docs} with verbose set to {verbose}.
POST /_ingest/pipeline/{id}/_simulate Test an existing pipeline against sample docs via POST · Simulate a pipeline #
Ask an LLM
“Can I POST sample docs to simulate a pipeline that's already saved?”
“Is there a POST variant of simulating a named pipeline?”
Tell an agent
POST docs {docs} to simulate stored pipeline {id}.
Use POST to dry-run existing pipeline {id}.
GET /_ingest/_simulate Simulate full ingestion with template substitutions · Simulate data ingestion #
Ask an LLM
“Can I see what documents would look like after all pipelines and mappings, without indexing?”
“How do I test a proposed index template change against sample data?”
Tell an agent
Simulate ingesting docs {docs} with pipeline {pipeline}.
Simulate ingest of {docs} substituting index templates {index_templates}.
POST /_ingest/_simulate Simulate full ingestion via POST · Simulate data ingestion #
Ask an LLM
“Is there a POST form of the full ingest simulation?”
“Can I POST docs with substitute pipelines to preview final indexing results?”
Tell an agent
POST an ingest simulation of {docs} with pipeline substitutions {pipeline_subs}.
Use POST to simulate ingesting {docs} with mapping addition {mapping}.
GET /_ingest/{index}/_simulate Simulate ingestion into a specific index · Simulate data ingestion #
Ask an LLM
“What would happen if I indexed these docs into my logs index, pipelines included?”
“Can I validate sample docs against a target index's mappings without writing?”
Tell an agent
Simulate ingesting {docs} into {index}.
Preview how {docs} would be stored in {index} with merge type {merge_type}.
POST /_ingest/{index}/_simulate Simulate ingestion into a specific index via POST · Simulate data ingestion #
Ask an LLM
“Is there a POST variant of simulating ingest into one index?”
“Can I POST sample docs to preview ingestion into a named index?”
Tell an agent
POST an ingest simulation of {docs} targeting {index}.
Use POST to test component template substitutions {component_templates} for {index}.

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-ingest-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-ingest-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Ingest 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 (785 KB total) ---
# Full source: https://artifacts.apis.io/elastic/openapi/elastic-ingest-api-openapi.yml