---
title: "Download an audit log archive"
method: GET
path: "/v1/governance/archives/{id}/download"
tags: ["Governance"]
---

# Download an audit log archive

`GET /v1/governance/archives/{id}/download`

## Request

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

Use this endpoint to download an audit log archive. Returns a pre-signed URL with a time-limited download link and a SHA-256 checksum for integrity verification.

## Path parameters

- `id` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Archive download details with pre-signed URL

- ArchiveDownloadResponse: Download details for an audit log archive
  - `downloadUrl` string: Pre-signed URL for downloading the archive
  - `expiresAt` string, date-time: Expiration timestamp of the download URL
  - `checksum` string: SHA-256 checksum for integrity verification

## 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`: Archive not found
- `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)
