---
updatedAt: 2026-10-27T06:17:38.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# Get details of a download job - v4

Returns the details of the eDiscovery Download Client job.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "inSync GovCloud"
  },
  "tags": [
    {
      "name": "Legal Hold",
      "description": "Lists the APIs to get information about the legal hold policies, manage users on legal hold and new APIs for eDiscovery Download Client."
    }
  ],
  "paths": {
    "/legalholds/v4/job/{jobId}": {
      "get": {
        "tags": [
          "Legal Hold"
        ],
        "description": "Returns the details of the eDiscovery Download Client job.",
        "summary": "Get details of a download job - v4",
        "operationId": "GetDetailsOfJob",
        "deprecated": false,
        "security": [
          {
            "Bearer": []
          }
        ],
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "description": "Specify the unique ID of the download job. Get the ID of a job using the 'List eDisovery Download Client jobs' API.",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTP_400"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTP_401"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTP_404"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTP_500"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://govcloudapis.druva.com/insync"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "HTTP_400": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "enum": [
              "inSyncLegalholds-4294967489"
            ],
            "example": "inSyncLegalholds-4294967489"
          },
          "message": {
            "type": "string",
            "enum": [
              "Invalid API Syntax"
            ],
            "example": "Invalid API Syntax"
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      },
      "HTTP_401": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "inSyncLegalholds-4294967557",
              "inSyncLegalholds-4294967391"
            ],
            "example": "inSyncLegalholds-4294967391"
          },
          "message": {
            "type": "string",
            "example": "Authentication/Authorization failed"
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ],
            "example": false
          }
        }
      },
      "HTTP_404": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "inSyncLegalholds-4294967438"
            ],
            "example": "inSyncLegalholds-4294967438"
          },
          "message": {
            "type": "string",
            "enum": [
              "Legalhold policy not found."
            ],
            "example": "Legalhold policy not found."
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ],
            "example": false
          }
        }
      },
      "HTTP_500": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "inSyncLegalholds-2003"
            ],
            "example": "inSyncLegalholds-2003"
          },
          "message": {
            "type": "string",
            "example": "Programing Error occurred on server, please check server logs for more details"
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ],
            "example": false
          }
        }
      },
      "JobDetails": {
        "title": "JobDetails",
        "type": "object",
        "properties": {
          "dataDownload": {
            "type": "integer",
            "description": "Flag to download data. Use 1 as the value if you want to download the data.",
            "enum": [
              0,
              1
            ],
            "example": "1"
          },
          "custodianEmail": {
            "type": "string",
            "description": "The email address of the custodian. Example - john@druva.org",
            "example": "john@druva.org"
          },
          "jobId": {
            "type": "integer",
            "description": "Unique Id of the job. Example - 55",
            "example": 55
          },
          "addWebdavProp": {
            "type": "string",
            "description": "WebDAV property."
          },
          "percentComplete": {
            "type": "integer",
            "description": "Percentage of data that has been downloaded. Example - 100",
            "example": 100
          },
          "webdavUrl": {
            "type": "string",
            "description": "WebDAV access URL",
            "example": "https://restore-c1-druva.com/webdav/legal-policy1/John/OneDrive/"
          },
          "jobEndTime": {
            "type": "integer",
            "description": "TimeStamp when the job ended. Example - 1597914384",
            "example": 1597914384
          },
          "clientSecretId": {
            "type": "string",
            "description": "Client secret Id. Example - jEpceguNqE98heUe7rboMh9kkahXWyW",
            "example": "jEpceguNqE98heUe7rboMh9kkahXWyW"
          },
          "legalholdId": {
            "type": "integer",
            "description": "Unique ID of the Legal Hold policy. Example - 47",
            "example": 47
          },
          "metadataDownload": {
            "type": "integer",
            "description": "Flag to indicate if metadata option is selected for the download.",
            "enum": [
              0,
              1
            ],
            "example": 1
          },
          "ddClientId": {
            "type": "integer",
            "description": "The unique ID of the eDiscovery Download Client. Example - 48",
            "example": 48
          },
          "totalFiles": {
            "type": "integer",
            "description": "Total number of files available for download. Example - 10",
            "example": 10
          },
          "data_integrity": {
            "type": "integer",
            "description": "Data integrity. Example - 10",
            "example": 10
          },
          "type_name": {
            "type": "string",
            "description": "Legal Hold type name. Example - Human Resources",
            "example": "Human Resources"
          },
          "jobStatus": {
            "type": "string",
            "description": "Status of the job. Example - '[Queued,Paused,Running,Cancelled,Successful,Failed,Completed with Errors]'",
            "enum": [
              "Queued",
              "Paused",
              "Running",
              "Cancelled",
              "Successful",
              "Failed",
              "Completed with Errors"
            ],
            "example": "Successful"
          },
          "dataDownloaded": {
            "type": "integer",
            "description": "Size of the downloaded data. Example - 5731256",
            "example": 5731256
          },
          "legalholdName": {
            "type": "string",
            "description": "Name of Legal Hold Policy for which download is triggered. Example - Legal-Policy1",
            "example": "Legal-Policy1"
          },
          "jobStartTime": {
            "type": "integer",
            "description": "Timestamp when job was triggered in epoch. Example - 1597909321",
            "example": 1597909321
          },
          "totalDataSize": {
            "type": "integer",
            "description": "Size of the data that is to be downloaded. Example - 5731256",
            "example": 5731256
          },
          "cplatform": {
            "type": "string",
            "description": "The operating system where the eDiscovery Download Client is installed. Example - win32",
            "example": "win32"
          },
          "dCategory": {
            "type": "string",
            "description": "Category of device. Example - cloudapp-others",
            "example": "cloudapp-others"
          },
          "custodian": {
            "type": "string",
            "description": "Name of the custodian whose data is being downloaded. Example - John Doe",
            "example": "John Doe"
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message if download fails. Example - ERR_401",
            "example": "ERR_401"
          },
          "filesDownloaded": {
            "type": "integer",
            "description": "Count of files that were downloaded. Example - 10",
            "example": 10
          },
          "dataSource": {
            "type": "string",
            "description": "Name of the data source from where the data will be downloaded. Example - OneDrive",
            "example": "OneDrive"
          },
          "createdBy": {
            "type": "string",
            "description": "Name of the inSync administrator who is initiating the download. Example - Ernie Carter",
            "example": "Ernie Carter"
          },
          "totalFilesZipped": {
            "type": "integer",
            "description": "Total files that are zipped. Example - 15",
            "example": 15
          },
          "downloadLocation": {
            "type": "string",
            "description": "Download location of data to be downloaded. Example - D:\\Downloads",
            "example": "D:\\Downloads"
          },
          "data_integrity_enabled": {
            "type": "integer",
            "description": "Data integrity flag is enabled. Example - 1",
            "example": 1
          },
          "downloadOption": {
            "type": "integer",
            "description": "0 indicates only metadata, 1 indicates data and metadata and 2 indicates zip download option.",
            "enum": [
              0,
              1,
              2
            ],
            "example": 1
          },
          "total_data_integrity": {
            "type": "integer",
            "description": "Total data integrity count. Example - 131",
            "example": 131
          },
          "customerId": {
            "type": "integer",
            "description": "Unique ID of the customer. Example - 7",
            "example": 7
          },
          "clientName": {
            "type": "string",
            "description": "Name of the eDiscovery Download Client. Example - Client-1.0.0",
            "example": "Client-1.0.0"
          }
        }
      }
    }
  }
}
```