---
title: "List all upload logs jobs"
method: GET
path: "/hyperv/v1/orgs/{OrgID}/reports/jobs/uploadlogs"
tags: ["Hyper-V"]
---

# List all upload logs jobs

`GET /hyperv/v1/orgs/{OrgID}/reports/jobs/uploadlogs`

Returns a list of all upload jobs for Hyper-V.

## Path parameters

- `OrgID` integer, required

## Query parameters

- `fromTime` integer
- `toTime` integer
- `vmName` string[]
- `status` integer[]
- `sortOrder` string
- `pageToken` string

## Response `200`

Success

- HVGetUploadLogJobReportResponse
  - `jobs` HVHyperVUploadJob[] — List of all upload logs jobs run for Hyper-V.
    - `environmentDetails` HVUploadLogsEnvironmentStruct — UploadLogsEnvironmentStruct struct holds the response for GetUploadLogsJobsReport api
      - `diskWriteRate` string — Specifies 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.
      - `networkRetries` integer — Specifies the number of network retries during the job.
      - `networkRetryDuration` string — Specifies the total time spent in the network retries. It represents the cumulative of all network session duration.
    - `executionDetails` HVUploadLogsExecutionDetailsStruct — UploadLogsExecutionDetailsStruct struct holds the response for GetUploadLogsJobsReport api
      - `endTime` string — The time when the job operation ends. The time is specified in the UTC time zone. The format is YYYY-MM-DDTHH:MM:SSZ.
      - `errorCode` string — Specifies the error code when the backup operation fails. The possible values are:\n \"0\": If the job is successful\n <error_number>: If the job has failed
      - `errorMessage` string — Specifies the message for rhe failed job. This field is empty if the job is successful.
      - `logsExpiryTime` string — Specifies the expiry time of the uploaded logs.
      - `logsSize` string — Specifies the size of the logs.
      - `logsSizeInBytes` integer — Specifies the size of the logs in bytes.
      - `sourceJobID` integer — Specifies the unique udentification number of the job for which logs are requested.
      - `sourceJobLogType` string — Specifies the tyoe of the job for which logs are requested.
      - `startTime` string — The time when the job operation starts. The time is specified in the UTC time zone. The format is YYYY-MM-DDTHH:MM:SSZ.
      - `status` string — Specify the status of the job. This parameter can be set to one or more of the following values: Queued, Running, Successful, Successful with errors and Failed. Specify multiple status values by separating them with commas.
    - `jobID` integer — Specifies a unique identification number associated with the job.
    - `jobType` string — Specifies the type of the job. This parameter can be set to one or more of the following values: Backup, Restore, Log Request and Defreeze. Specify multiple job types by separating them with commas. See <a href=https://help.druva.com/en/articles/8651316-monitor-hyper-v-jobs>Job Types.</a>
    - `organizationName` string — The name of the organization.
    - `vmName` string — The name of the VM for which the job is initiated. Specify multiple VM names by separating them with commas.
  - `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
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error in the 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)
