---
title: "List Version Outputs"
method: GET
path: "/api/v1/list-version-outputs"
tags: ["Chat"]
---

# List Version Outputs

`GET /api/v1/list-version-outputs`

## Request

- Base URL: `https://backend.caspr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.caspr.ai/api/v1/list-version-outputs`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

List all available output files (non-null) across all versions of a report.
Returns a simple list for frontend to display all available downloads.

Args:
    report_id: The report ID
    user_id: Authenticated user ID (from token)

Returns:
    List of all available outputs with version, file_type, and generated_at

## Query parameters

- `report_id` string, required

## Response `200`

Successful Response

- ListVersionOutputsResponse
  - `success` boolean, required
  - `report_id` string, nullable
  - `outputs` VersionOutputItem[], nullable
    - `version` integer, required
    - `file_type` string, required
    - `s3_path` string, required
    - `generated_at` string, nullable

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/caspr/apis/casper-api.md) - [All operations](https://skmtc.dev/caspr/apis/casper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caspr/apis/casper-api/revisions/f9765e3aa00c?raw)
