---
title: "List all jobs"
method: GET
path: "/fileserver/v1/orgs/{OrgID}/reports/jobs"
tags: ["File Server"]
---

# List all jobs

`GET /fileserver/v1/orgs/{OrgID}/reports/jobs`

Returns all jobs for Windows/Linux servers

## Path parameters

- `OrgID` integer, required

## Query parameters

- `jobType` string
- `serverName` string
- `status` string
- `fromTime` string, date-time
- `toTime` string, date-time
- `sortOrder` string
- `pageToken` string

## Response `200`

Success

- FSGetAllJobsReportResponse — GetAllJobsReportResponse is the response schema for GetAllJobsReport
  - `jobs` FSGetAllJobsReport[]
    - `backupContent` FSRuleStruct1
      - `backupContent` FSBackupContentStruct
        - `excludeExtension` string[] — The list of file types that are excluded from the backup. You can select pre-defined file types that you want to exclude from the backup.
        - `excludeFolders` string[] — The list of folders that are excluded from the backup. See <a href=https://help.druva.com/en/articles/8651422-about-data-protection-for-file-servers>Folders excluded from File server backup</a>.
        - `excludePattern` string[] — The list of file extensions that are excluded in the backup.
        - `excludeType` string[] — The list of file types that are excluded from the backup. You can select pre-defined file types that you want to exclude from the backup.
        - `includeExtension` string[] — The list of file extensions that are included in the backup.
        - `includeFolders` string[] — List of folders/directories included in the backup operation.
        - `includePattern` string[] — The list of file patterns that are included in the backup.
        - `includeType` string[] — The list of file types that are included in the backup. You can select pre-defined file types that you want to include in the backup. See <a href=https://help.druva.com/en/articles/8651422-about-data-protection-for-file-servers>File types supported for backup</a>.
        - `isCaseInsensitive` boolean — The status of the case insensitivity flag.
      - `ruleName` string — Name of the content rule.
    - `endTime` string — The time when the job completes. The time is specified in the UTC timezone. The format is YYYY-MM-DDTHH:MM:SSZ.
    - `errorCode` string — Specifies the error code for the failed jobs. The possible values are: \"0\": If the job is successful <error_number>: If the job has failed
    - `errorMessage` string — Specifies the error message for the failed jobs. This field is empty if the job is successful.
    - `jobID` integer — A unique identification number associated with the job.
    - `jobType` 'Backup' | 'Restore' | 'Log Request' — The type of the job.
    - `organizationName` string — The name of the organization.
    - `scheduleTime` string — The date and time when the job starts or is scheduled to start. The time is specified in UTC in the format YYYY-MM-DDTHH:MM:SSZ.
    - `serverName` string — The name of Windows/Linux server.
    - `startTime` string — The time when the job starts. The time is specified in the UTC timezone. The format is YYYY-MM-DDTHH:MM:SSZ.
    - `status` 'Queued' | 'Running' | 'Successful' | 'Successful with errors' | 'Failed' — Status of the job.
  - `nextPageToken` string — The token to access the next page of results. This parameter will be empty for the last page of results.

## Other responses

- `400` — Bad Request
- `401` — The request did not include an authentication token or the authentication token was expired.
- `403` — Forbidden
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error in Cloud.

---

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