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