Menu
Get
Get
GET
/_snapshot/{repository}/{snapshot}Use it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Get action (under snapshot).
- Fill in the fields below, then reference the result from later steps as
{{get.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{get.response.data.<field>}}.
{
"snapshots": [
{
"data_streams": [
"string"
],
"duration": "string",
"duration_in_millis": 0,
"end_time": null,
"end_time_in_millis": 0,
"failures": [
{
"index": "string",
"node_id": "string",
"reason": "string",
"shard_id": "string",
"status": "string"
}
],
"include_global_state": false,
"indices": [
"string"
],
"metadata": {},
"pinned_timestamp": 0,
"reason": "string",
"remote_store_index_shallow_copy": false
}
]
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?