# List reports with filtering

Lists reports with optional filtering by analysis, date range, and status. Lists the latest report per analysis under the filtered criteria.
**Filtering Options:**
- By analysis ID
- By signed date range
- By report status/phase

**Ordering:**
- `id` or `analysis_id` - Order by analysis ID (default)
- `signed_date` or `signed_at` - Order by signed date

**Date Formats for `signed_after` and `signed_before`:**
- Unix timestamp in seconds (10 digits): `1704067200`
- Unix timestamp in milliseconds (13 digits): `1704067200000`
- ISO-8601 format with timezone: `2024-01-15T10:30:00Z` or `2024-01-15T10:30:00+02:00`

**Note:** Date-only formats without timezone (e.g., `2024-01-15`) are not supported. Invalid date formats will return a 400 error.
**Pagination:**
Results are paginated. Use `page_number` to navigate through pages.

Endpoint: GET /v1/reports/list
Version: 96
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

## Query parameters:

  - `analysis_id` (string)
    Filter by analysis ID

  - `signed_after` (string)
    Filter reports signed after this date/timestamp

  - `signed_before` (string)
    Filter reports signed before this date/timestamp

  - `report_status` (array)
    Filter by report status (can specify multiple), case insensitive

  - `ordering` (string)
    Field to order results by

  - `page_number` (integer)
    Page number for pagination (1-based)

## Response 200:

  - `200` (unknown)
    Reports list retrieved successfully

## Response 200 fields (application/json):

  - `num_pages` (integer)
    Total number of pages available
    Example: 5

  - `page_number` (integer)
    Current page number (1-based)
    Example: 5

  - `reports` (array)
    List of reports on this page

  - `reports.analysis_id` (integer)
    The analysis (case) ID
    Example: 12345

  - `reports.report_id` (integer)
    The report ID
    Example: 67890

  - `reports.signed_at` (string)
    Timestamp when the report was signed
    Example: 2026-01-01T18:23:54Z

  - `reports.signed_by` (string)
    Name and title of the user who signed the report
    Example: Dr. John Doe

  - `reports.signed_by_mail` (string)
    Email of the user who signed the report
    Example: john@doe.com

  - `reports.report_status` (string)
    Current status of the report
    Enum: "Draft", "Revision", "Final", "Amended", "Addended", "Preliminary", "Preliminary revised"

  - `reports.revision_by` (string)
    Name and title of the user who revised the report
    Example: Dr. John Doe

  - `reports.revision_at` (string)
    Timestamp when the report was revised
    Example: 2026-01-01T18:23:54Z

  - `reports.revision_reason` (string)
    User-input reason for the revision. Nullable.
    Example: A reason

## Response 400:

  - `400` (unknown)
    Bad request - invalid filter parameters

## 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 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

