Menu
Get the search shards (POST /{index}/_search_shards)
Get the search shards
POST
/{index}/_search_shardsUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get the search shards (POST /{index}/_search_shards) action (under search).
- Fill in the fields below, then reference the result from later steps as
{{getTheSearchShardsPostIndexSearchShards.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getTheSearchShardsPostIndexSearchShards.response.data.<field>}}.
{
"nodes": {},
"shards": [
[
{
"state": null,
"primary": false,
"shard": 0,
"index": null,
"node": null,
"allocation_id": {},
"recovery_source": {},
"unassigned_info": null,
"relocating_node": null,
"relocation_failure_info": null
}
]
],
"indices": {}
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?