Get pipelines Generally available; Added in 5.0.0
All methods and paths for this operation:
GET /_ingest/pipeline
GET /_ingest/pipeline/{id}
Get information about one or more ingest pipelines. This API returns a local reference of the pipeline.
Path parameters
-
Comma-separated list of pipeline IDs to retrieve. Wildcard (
*
) expressions are supported. To get all ingest pipelines, omit this parameter or use*
.
Query parameters
-
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
External documentation -
Return pipelines without their definitions (default: false)
GET /_ingest/pipeline/{id}
Console
GET /_ingest/pipeline/my-pipeline-id
resp = client.ingest.get_pipeline( id="my-pipeline-id", )
const response = await client.ingest.getPipeline({ id: "my-pipeline-id", });
response = client.ingest.get_pipeline( id: "my-pipeline-id" )
$resp = $client->ingest()->getPipeline([ "id" => "my-pipeline-id", ]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ingest/pipeline/my-pipeline-id"
Response examples (200)
A successful response for retrieving information about an ingest pipeline.
{ "my-pipeline-id" : { "description" : "describe pipeline", "version" : 123, "processors" : [ { "set" : { "field" : "foo", "value" : "bar" } } ], "created_date" : "2024-01-01T12:00:00.000Z", "created_date_millis" : 1704110400000, "modified_date" : "2025-01-01T12:00:00.000Z", "modified_date_millis" : 1735732800000 } }