Menu
Flush (GET /{index}/_flush)
Flush
GET
/{index}/_flushUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Flush (GET /{index}/_flush) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{flushGetIndexFlush.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{flushGetIndexFlush.response.data.<field>}}.
{
"_shards": {
"failed": 0,
"successful": 0,
"total": 0,
"failures": [
{
"shard": 0,
"reason": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
],
"header": {}
},
"index": "string",
"node": "string"
}
],
"skipped": 0
}
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?