# Export SNP variants to downloadable files

Generates downloadable export files for SNP variants in an analysis.
Returns pre-signed URLs for downloading variant data files for each sample
in the analysis. The export includes comprehensive variant information
suitable for downstream analysis or reporting.
**Response:**
Returns a list of samples with their download links. Each sample gets
a separate export file.
**Note:** Download URLs are time-limited (pre-signed). Use them promptly
after receiving the response.

Endpoint: GET /v1/analysis/export/variants/snp
Version: 96
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

## Query parameters:

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

## Response 200:

  - `200` (unknown)
    Export generated successfully

## Response 200 fields (application/json):

  - `sample_response` (array)
    Export links for each sample

  - `sample_response.sample_name` (string)
    Name of the sample
    Example: Sample_001

  - `sample_response.download_link` (string)
    Pre-signed URL for downloading the export file
    Example: https://s3.amazonaws.com/bucket/sample_001_variants.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

