---
updatedAt: 2026-04-22T12:30:13.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# List all restore jobs

Returns all restore jobs

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "Enterprise Workloads"
  },
  "x-explorer-enabled": true,
  "paths": {
    "/ahv/v1/orgs/{OrgID}/reports/jobs/restores": {
      "get": {
        "description": "Returns all restore jobs",
        "tags": [
          "AHV"
        ],
        "security": [
          {
            "Bearer": []
          }
        ],
        "summary": "List all restore jobs",
        "operationId": "AHVGetAllRestoreJobsInfoRequest",
        "parameters": [
          {
            "description": "Specify the organization ID of your organization. Set it to \"0\" to select all organizations. Get the ID of an organization using the 'List all organizations' API.",
            "name": "OrgID",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "x-go-name": "Status",
            "description": "Specify the status of the job. Set the status as \"Queued\", \"Running\", \"Successful\", \"Successful with errors\", or \"Failed\". Specify multiple job statuses by separating the values with commas.",
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "x-go-name": "VMNameList",
            "description": "Specify the name of the virtual machine. Specify multiple virtual machine names by separating names with commas.",
            "name": "vmName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "x-go-name": "PageToken",
            "description": "Specify the token to access the results on the next page. Keep this field blank for the first request. To view the results on the next page, use the value received in the 'nextPageToken' parameter of the previous response.",
            "name": "pageToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "x-go-name": "StartTime",
            "description": "Specify the date and time to filter jobs that were run during the specified timestamp. Specify the date and time in UTC format (YYYY-MM-DDTHH:MM:SSZ). The timestamp must be within six months from the current date. For example, if the current date is 2020-10-02, you can specify any date between 2020-04-03 to 2020-10-02.",
            "name": "fromTime",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "x-go-name": "EndTime",
            "description": "Specify the date and time to filter jobs that were run until the specified timestamp. Specify the date and time in UTC format. The format is YYYY-MM-DDTHH:MM:SSZ.",
            "name": "toTime",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "x-go-name": "SortOrder",
            "description": "Sort the API results by the scheduled time of the job, either in ascending or descending order. Set the sortOrder value to ASC or DESC. The default value is ASC.",
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/AHVGetAllRestoreJobsInfoResponse"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "The request did not include an authentication token or the authentication token was expired."
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "The requested resource was not found."
          },
          "500": {
            "description": "The request was not processed due to an internal error in Cloud.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ServiceError"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "//apis.druva.com/phoenix"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "ServiceError": {
        "description": "Service Error",
        "type": "object",
        "title": "ServiceError represents an error with an associated error code.",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Code",
            "description": "Error Code"
          },
          "message": {
            "type": "string",
            "description": "Application specific error message"
          }
        },
        "x-go-package": "vendor/druva.com/godevkit/errortype"
      },
      "AHVGetAllRestoreJobsInfoResponse": {
        "description": "List all restore jobs response.",
        "type": "object",
        "properties": {
          "jobs": {
            "description": "List of all restore jobs.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AHVGetRestoreJobsReport"
            },
            "x-go-name": "Jobs"
          },
          "nextPageToken": {
            "description": "The token to access the next page of results. This parameter will be empty for the last page of results.",
            "type": "string",
            "x-go-name": "OutToken"
          }
        },
        "x-go-name": "GetAllRestoreJobsInfoResponse",
        "x-go-package": "phoenix/ahv/cloud/report/spec/jobs"
      },
      "AHVGetRestoreJobsReport": {
        "description": "Details of restore jobs.",
        "type": "object",
        "properties": {
          "backupProxyName": {
            "description": "The name of the backup proxy on which the job is processed.",
            "type": "string",
            "x-go-name": "BackupProxyName"
          },
          "backupsetID": {
            "description": "The ID of your backup set.",
            "type": "integer",
            "format": "int32",
            "x-go-name": "BackupsetID"
          },
          "destinationVMName": {
            "description": "The name of the VM on which the restore was initiated.",
            "type": "string",
            "x-go-name": "DestinationVMName"
          },
          "environmentDetails": {
            "$ref": "#/components/schemas/AHVRestoreEnvironmentStruct"
          },
          "executionDetails": {
            "$ref": "#/components/schemas/AHVRestoreExecutionDetailsStruct"
          },
          "jobID": {
            "description": "A unique identification number associated with the job.",
            "type": "integer",
            "format": "int32",
            "x-go-name": "JobID"
          },
          "jobType": {
            "description": "Type of the operation.",
            "type": "string",
            "x-go-name": "JobType"
          },
          "organizationID": {
            "description": "The ID of your organization.",
            "type": "integer",
            "format": "int32",
            "x-go-name": "OrgID"
          },
          "organizationName": {
            "description": "The name of the organization.",
            "type": "string",
            "x-go-name": "OrgName"
          },
          "restoreType": {
            "description": "Type of restore.",
            "type": "string",
            "x-go-name": "RestoreType"
          },
          "sourceVMName": {
            "description": "The name of the VM for which the restore was initiated.",
            "type": "string",
            "x-go-name": "SourceVMName"
          }
        },
        "x-go-name": "GetRestoreJobsReport",
        "x-go-package": "phoenix/ahv/cloud/report/spec/jobs"
      },
      "AHVRestoreEnvironmentStruct": {
        "description": "The environment details of the job.",
        "type": "object",
        "properties": {
          "diskWriteRate": {
            "description": "Indicates the bit rate for writing I/O by the agent. The Disk Write Rate is the average of the total data written with respect to the total time taken to write data at various intervals.",
            "type": "string",
            "x-go-name": "DiskWriteRate"
          },
          "diskWriteRateInKBps": {
            "description": "Indicates the bit rate in kilobytes per second for writing I/O by the agent. The Disk Write Rate is the average of the total data written with respect to the total time taken to write data at various intervals.",
            "type": "number",
            "format": "double",
            "x-go-name": "DiskWriteRateInKBps"
          },
          "networkRetries": {
            "description": "The number of network retries during the job.",
            "type": "integer",
            "format": "int32",
            "x-go-name": "NetworkRetries"
          },
          "networkRetryDuration": {
            "description": "Indicates the total time spent in the network retries. It represents the cumulative of all network session durations.",
            "type": "string",
            "x-go-name": "NetworkRetryDuration"
          },
          "networkRetryDurationInSeconds": {
            "description": "Indicates the total time spent in seconds in the network retries. It represents the cumulative of all network session durations.",
            "type": "integer",
            "format": "int64",
            "x-go-name": "NetworkRetryDurationInSeconds"
          }
        },
        "x-go-name": "RestoreEnvironmentStruct",
        "x-go-package": "phoenix/ahv/cloud/report/spec/jobs"
      },
      "AHVRestoreExecutionDetailsStruct": {
        "description": "The execution details of the job.",
        "type": "object",
        "properties": {
          "bandwidthConsumed": {
            "description": "The bit rate to transfer data from the Druva Cloud and CloudCache.",
            "type": "string",
            "x-go-name": "BandwidthConsumed"
          },
          "bandwidthConsumedInKBps": {
            "description": "The bit rate in kilobytes per second to transfer data from the Druva Cloud and CloudCache.",
            "type": "number",
            "format": "double",
            "x-go-name": "BandwidthConsumedInKBps"
          },
          "endTime": {
            "description": "The time when the job completes.",
            "type": "string",
            "x-go-name": "EndTime"
          },
          "errorCode": {
            "description": "The error code for the failed jobs. The possible values are:\n\n \\\"0\\\": If the job is successful\n\n<error_number>: If the job has failed",
            "type": "string",
            "x-go-name": "ErrorCode"
          },
          "errorMessage": {
            "description": "The error message for the failed jobs. This field is empty if the job is successful.",
            "type": "string",
            "x-go-name": "ErrorMsg"
          },
          "restoredData": {
            "description": "The total amount of data restored.",
            "type": "string",
            "x-go-name": "RestoredData"
          },
          "restoredDataInBytes": {
            "description": "The total amount of data restored in bytes.",
            "type": "integer",
            "format": "uint64",
            "x-go-name": "RestoredDataInBytes"
          },
          "restoredItems": {
            "description": "Data items restored.",
            "type": "string",
            "x-go-name": "RestoredItems"
          },
          "startTime": {
            "description": "The time when the job starts.",
            "type": "string",
            "x-go-name": "StartTime"
          },
          "status": {
            "description": "The status of the job.",
            "type": "string",
            "x-go-name": "Status"
          }
        },
        "x-go-name": "RestoreExecutionDetailsStruct",
        "x-go-package": "phoenix/ahv/cloud/report/spec/jobs"
      }
    }
  }
}
```