# Export analysis history

Generates a downloadable export of the analysis history/audit log.
The history includes all actions taken on the analysis, such as:
- Variant classifications and changes
- Workbench additions/removals
- Report generations
- User actions and timestamps

**Response:**
Returns a pre-signed URL for downloading the history file.
**Note:** Download URL is time-limited. Use it promptly after receiving the response.

Endpoint: GET /v1/analysis/export/history
Version: 96
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

## Query parameters:

  - `analysis_id` (string, required)
    The analysis (case) ID

## Response 200:

  - `200` (unknown)
    History export generated successfully

## Response 200 fields (application/json):

  - `url` (string)
    Pre-signed URL for downloading the history file
    Example: https://s3.amazonaws.com/bucket/analysis_12345_history.json?signature=...

## Response 400:

  - `400` (unknown)
    Bad request - invalid analysis ID

## Response 400 fields (application/json):

  - `error` (string, required)
    Error type
    Example: Not Found

  - `message` (string, required)
    Human-readable error description
    Example: Analysis with ID 12345 was not found

## Response 401:

  - `401` (unknown)
    Authentication failed - invalid or missing token

## Response 401 fields (application/json):

  - `error` (string, required)
    Error type
    Example: Not Found

  - `message` (string, required)
    Human-readable error description
    Example: Analysis with ID 12345 was not found

## Response 404:

  - `404` (unknown)
    Resource not found

## Response 404 fields (application/json):

  - `error` (string, required)
    Error type
    Example: Not Found

  - `message` (string, required)
    Human-readable error description
    Example: Analysis with ID 12345 was not found

## Response 429:

  - `429` (unknown)
    Rate limit exceeded

## Response 429 fields (application/json):

  - `error` (string, required)
    Error type
    Example: Not Found

  - `message` (string, required)
    Human-readable error description
    Example: Analysis with ID 12345 was not found

## Response 429 headers (application/json):

  - `Retry-After` (integer)
    Number of seconds to wait before retrying

