Menu
Status (GET /_snapshot/{repository}/_status)
Status
GET
/_snapshot/{repository}/_statusUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Status (GET /_snapshot/{repository}/_status) action (under snapshot).
- Fill in the fields below, then reference the result from later steps as
{{statusGetSnapshotRepositoryStatus.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{statusGetSnapshotRepositoryStatus.response.data.<field>}}.
{
"snapshots": [
{
"include_global_state": false,
"indices": {},
"repository": "string",
"shards_stats": {
"done": 0,
"failed": 0,
"finalizing": 0,
"initializing": 0,
"started": 0,
"total": 0
},
"snapshot": "string",
"state": "string",
"stats": {
"incremental": {
"file_count": 0,
"size_in_bytes": 0
},
"processed": {
"file_count": 0,
"size_in_bytes": 0
},
"start_time_in_millis": 0,
"time": "string",
"time_in_millis": 0,
"total": {
"file_count": 0,
"size_in_bytes": 0
}
},
"uuid": "string"
}
]
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?