---
title: "Download export file"
method: GET
path: "/v1/export-jobs/{jobId}/download"
tags: ["Export Jobs"]
---

# Download export file

`GET /v1/export-jobs/{jobId}/download`

## Request

- Base URL: `https://identity.sandbox.lerian.net`
- URL: `https://identity.sandbox.lerian.net/v1/export-jobs/{jobId}/download`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lerian/apis/identity-plugin/docs/v1/export-jobs/:jobId/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to download the export file. The response includes a presigned URL for downloading the file.

## Path parameters

- `jobId` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Export download details

- DownloadExportJobResponse: Presigned download URL and metadata for an export job file
  - `downloadUrl` string: Presigned URL to download the export file
  - `fileName` string: Original file name of the export
  - `sha256` string: SHA-256 checksum of the file for integrity verification
  - `expiresIn` integer: Duration in seconds until the download URL expires

## Other responses

- `400`: The request contains invalid parameters or payload.
- `401`: The request lacks valid authentication credentials.
- `403`: You do not have permission to access this resource.
- `404`: The requested resource was not found.
- `409`: Job not ready for download
- `500`: An unexpected error occurred on the server.
- `503`: The service is temporarily unavailable. Please try again later.

---

[API](https://skmtc.dev/lerian/apis/identity-plugin.md) - [All operations](https://skmtc.dev/lerian/apis/identity-plugin/llms.txt) - [OpenAPI document](https://skmtc.dev/lerian/apis/identity-plugin/revisions/25daba385532?raw)
