---
title: "Get restore by restoreID"
method: GET
path: "/endpoints/v1/restores/{restoreID}"
tags: ["Endpoints"]
---

# Get restore by restoreID

`GET /endpoints/v1/restores/{restoreID}`

Returns the restore activity details based on the restore ID.

## Path parameters

- `restoreID` integer, required

## Response `200`

OK

- Restore
  - `deviceID` integer — The unique ID of the device from which the restore activity was triggered. Example: 12345
  - `targetDeviceID` integer — The device ID of the device to which the data was restored. Example: 12345
  - `restoreLocation` string — The location on the device to which the data was restored. The possibles locations are: 1) Original: If the data was restored to the original location 2) Desktop: If the data was restored to desktop 3)Custom location: If data was restored to a custom location 4) Unknown: If the restore was performed from a mobile device to a mobile device.
  - `userID` integer — The unique ID of the user who triggered the restore activity. Example: 12345
  - `restoreID` integer — The unique ID of the restore activity. This value is 'null' in case of restore was initiated from a mobile device. Example: 12345
  - `startTime` string, date-time — The start time of the restore activity. Example: 2013-04-17T09:12:36Z
  - `endTime` string, date-time — The end time of the restore activity. Example: 2013-04-17T09:13:36Z. This value is empty if the restore activity is ongoing.
  - `status` string — Status of the restore activity. It is: 1) Successful: If the restore activity was completed successfully. 2) Ongoing: If the restore activity is ongoing. 3) Failed: If the restore activity was failed. 4) Cancelled: If the restore activity was cancelled manually. 5) Completed with Errors: If some files were missed during the restore activity.
  - `restoreSize` string — The size of the data restored. Example: 285 MB This value is 'Unknown' for restores that failed to start.
  - `numberOfFilesRestored` integer — The total number of files that were restored in the restore activity. Example: 456
  - `numberOfFilesMissed` integer — The total number of files that were missed from the restore activity. Example: 12 This value is 'null' if the restore activity is ongoing.
  - `restoreMode` string — The persona who initiated the restore. Personas are: Self: inSync user himself Admin: Administrator.
  - `systemSettingsRestore` boolean — This returns 'true' if system setting were restored else returns 'false'.
  - `failureReason` string — This returns the failure reason if the status is 'failed' else returns 'empty.

## Other responses

- `400` — Bad Request
- `401` — The request did not include an authentication token or an expired authentication token was supplied.
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error in inSync GovCloud.
- `501` — Requested HTTP method is not implemented.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
