[[ingest-apis]]
== Ingest APIs

Use ingest APIs to manage tasks and resources related to <<ingest,ingest
pipelines>> and processors.

[discrete]
[[ingest-pipeline-apis]]
=== Ingest pipeline APIs

Use the following APIs to create, manage, and test ingest pipelines:

* <<put-pipeline-api>> to create or update a pipeline
* <<get-pipeline-api>> to retrieve a pipeline configuration
* <<delete-pipeline-api>> to delete a pipeline
* <<simulate-pipeline-api>> to test a pipeline

[discrete]
[[ingest-stat-apis]]
=== Stat APIs

Use the following APIs to get statistics about ingest processing:

* <<geoip-stats-api>> to get download statistics for GeoIP2 databases used with
the <<geoip-processor,`geoip` processor>>.

include::put-pipeline.asciidoc[]
include::delete-pipeline.asciidoc[]
include::geoip-stats-api.asciidoc[]
include::get-pipeline.asciidoc[]
include::simulate-pipeline.asciidoc[]
include::simulate-ingest.asciidoc[]
