---
title: "Lists all the Restore scans jobs."
method: GET
path: "/rwcscanmaster/v1/jobs"
tags: ["Restore scans"]
---

# Lists all the Restore scans jobs.

`GET /rwcscanmaster/v1/jobs`

## Request

- Base URL: `https://apis.druva.com/realize`
- URL: `https://apis.druva.com/realize/rwcscanmaster/v1/jobs`
- Auth: API key in header `Authorization`

Returns the list of all Restore scans jobs.

## Query parameters

- `sortBy` 'scanJobID' | 'status' | 'resourceType'
- `sortOrder` 'asc' | 'desc'
- `status[]` string[]
- `resourceType[]` string[]
- `resourceName` string
- `startedIn` 'Last 24 Hours' | 'Last 7 Days' | 'Last 1 Month'
- `pageToken` string

## Response `200`

OK

- JobListModel
  - `jobs` object[]
    - `scanJobID` integer: Restore scans Job ID.
    - `globalCustomerID` string: Global Customer ID.
    - `orgID` integer: Phoenix Organization ID in case of Phoenix Servers.
    - `orgName` string: Phoenix Organization name in case of Phoenix Servers.
    - `productID` integer: inSync or Phoenix Product ID.
    - `productJobType` string: Type of restore job created in inSync or Phoenix.
    - `resourceType` string: Type of resource for which restore job is created in inSync or Phoenix.
    - `resourceID` integer: ID of resource for which restore job is created in inSync or Phoenix.
    - `resourceName` string: Name of resource for which restore job is created in inSync or Phoenix.
    - `addTime` string: Creation time of Restore scans job.
    - `endTime` string: The time when the scan job was completed.
    - `jobType` string: Type of Restore scans job.
    - `statusCode` integer: Status code for Restore scans job.
    - `status` string: Status for Restore scans job.
    - `deviceName` string: Resource Name for which Restore scans job is executed.
    - `ResourceURL` string: Link to resource for which Restore scans job is executed.
    - `RestoreJobURL` string: Link to product Restore Job corresponding to Restore scans job.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of the results. For example - eyJpZCI6NTY1NX0=
  - `totalItems` integer: Total jobs present in the response.

## Other responses

- `400`: Bad Request
- `401`: The request either did not include an authentication token, or you have provided an expired authentication token.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/druva/apis/cyber-resilience.md) - [All operations](https://skmtc.dev/druva/apis/cyber-resilience/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cyber-resilience/revisions/b149d46c996a?raw)
