---
updatedAt: 2026-06-02T08:41:39.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# List all restore activities

Returns the list of all the restore activities performed on user devices with their details.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "inSync Cloud"
  },
  "tags": [
    {
      "name": "Endpoints",
      "description": "Lists the APIs to get information about devices managed in Druva inSync."
    }
  ],
  "paths": {
    "/endpoints/v1/restores": {
      "get": {
        "tags": [
          "Endpoints"
        ],
        "summary": "List all restore activities",
        "description": "Returns the list of all the restore activities performed on user devices with their details.",
        "security": [
          {
            "Bearer": []
          }
        ],
        "parameters": [
          {
            "name": "deviceID",
            "in": "query",
            "description": "Specify the device ID to get a filtered list of restore activities performed from a device. \n Get the device ID by using the ‘List all devices’ API.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "targetDeviceID",
            "in": "query",
            "description": "Specify the device ID to get a filtered list of restore activities performed on that device. \n Get the target device ID by using the ‘List all devices’ API.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "userID",
            "in": "query",
            "description": "Specify the user ID to filter and get the list of restore activities performed by a user. You can get the user ID by using the ‘List all users’ API.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "minStartTime",
            "in": "query",
            "description": "Specify the start date and start time to get the list of restore activities performed after the specified start date and time. The format for this parameter value is YYYY-MM-DDTHH:MM:SSZ \nExample: 2019-10-04T11:03:27Z",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxStartTime",
            "in": "query",
            "description": "Specify the start date and start time to get the list of restore activities performed before the specified start date and time. The format for this parameter value is YYYY-MM-DDTHH:MM:SSZ \nExample: 2019-10-04T11:03:27Z \n\nNote: Restore activity data is fetched for past 365 days. Request for data beyond this limit will return an empty list.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageToken",
            "in": "query",
            "description": "The token to access the next page of results. Use the token value received in the previous response's parameter 'nextPageToken.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RestoreList"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "The request did not include an authentication token or an expired authentication token was supplied."
          },
          "403": {
            "description": "Access denied: Insufficient permissions. User requires specific access rights and minimum permissions. Details: https://help.druva.com/en/articles/15069296",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTP_403"
                }
              }
            }
          },
          "404": {
            "description": "The requested resource was not found."
          },
          "500": {
            "description": "The request was not processed due to an internal error in inSync Cloud.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "501": {
            "description": "Requested HTTP method is not implemented.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://apis.druva.com/insync"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "Restore": {
        "type": "object",
        "properties": {
          "deviceID": {
            "type": "integer",
            "description": "The unique ID of the device from which the restore activity was triggered. Example: 12345"
          },
          "targetDeviceID": {
            "type": "integer",
            "description": "The device ID of the device to which the data was restored. Example: 12345"
          },
          "restoreLocation": {
            "type": "string",
            "description": "The location on the device to which the data was restored. \nThe possibles locations are:\n 1) Original: If the data was restored to the original location\n 2) Desktop: If the data was restored to desktop\n 3)Custom location: If data was restored to a custom location\n 4) Unknown: If the restore was performed to unknown location."
          },
          "userID": {
            "type": "integer",
            "description": "The unique ID of the user who triggered the restore activity. Example: 12345"
          },
          "restoreID": {
            "type": "integer",
            "description": "The unique ID of the restore activity. Example: 12345"
          },
          "startTime": {
            "type": "string",
            "format": "date-time",
            "description": "The start time of the restore activity. \nExample: 2013-04-17T09:12:36Z"
          },
          "endTime": {
            "type": "string",
            "format": "date-time",
            "description": "The end time of the restore activity. Example: 2013-04-17T09:13:36Z. This value is empty if the restore activity is ongoing."
          },
          "status": {
            "type": "string",
            "description": "Status of the restore activity. It is:\n 1) Successful: If the restore activity was completed successfully.\n 2) Ongoing: If the restore activity is ongoing. \n 3) Failed: If the restore activity was failed.\n4) Cancelled: If the restore activity was cancelled manually.\n 5) Completed with Errors: If some files were missed during the restore activity."
          },
          "restoreSize": {
            "type": "string",
            "description": "The size of the data restored. Example: 285 MB \n This value is 'Unknown' for restores that failed to start. "
          },
          "numberOfFilesRestored": {
            "type": "integer",
            "description": "The total number of files that were restored in the restore activity. Example: 456"
          },
          "numberOfFilesMissed": {
            "type": "integer",
            "description": "The total number of files that were missed from the restore activity. Example: 12 \n This value is 'null' if the restore activity is ongoing."
          },
          "restoreMode": {
            "type": "string",
            "description": "The persona who initiated the restore. Personas are: \nSelf: inSync user himself \nAdmin: Administrator."
          },
          "systemSettingsRestore": {
            "type": "boolean",
            "description": "This returns 'true' if system setting were restored else returns 'false'."
          },
          "failureReason": {
            "type": "string",
            "description": "This returns the failure reason if the status is 'failed' else returns 'empty.",
            "example": ""
          }
        }
      },
      "RestoreList": {
        "type": "object",
        "properties": {
          "totalSize": {
            "type": "integer",
            "format": "int64",
            "description": "The total number of restore activities listed in the result pages. Example: 4096"
          },
          "nextPageToken": {
            "type": "string",
            "description": "The token to access the next page of results. This parameter will be empty for the last page of results."
          },
          "restores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Restore"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "InsyncEndpoints-1006",
            "description": "Application specific error code"
          },
          "message": {
            "type": "string",
            "example": "Internal server error",
            "description": "Application specific error message"
          },
          "retryable": {
            "type": "boolean",
            "default": false,
            "description": "If true, retry using exponential backoff"
          },
          "data": {
            "type": "object",
            "description": "Dictionary of values present in the error message for localization. Currently, no values are available."
          }
        }
      },
      "HTTP_403": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "InsyncAdmanagement-1221",
            "description": "Application specific error code"
          },
          "message": {
            "type": "string",
            "example": "Access restricted due to insufficient permissions.",
            "description": "Application specific error message"
          },
          "retryable": {
            "type": "boolean",
            "example": false,
            "description": "If true, retry using exponential backoff"
          },
          "data": {
            "type": "object",
            "description": "Dictionary of values present in the error message for localization. Currently, no values are available."
          }
        }
      }
    }
  }
}
```