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*
.
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"
client.ingest().getPipeline(g -> g
.id("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"
}
}
]
}
}