Chat

Download Version File

Download a specific file type from a specific version of a report. Returns a presigned URL for direct download.

Args: report_id: The ID of the report version: The version number to download file_type: The type of file to download (pdf, html, md, pptx, info_pdf) user_id: Authenticated user ID (from token)

Returns: Presigned URL for downloading the file (valid for 1 hour)

get/api/v1/download-version

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Query parameters

report_idstring required
versioninteger required
file_typestring required

Response

Successful Response

successboolean required
presigned_urlstring nullable
report_idstring nullable
versioninteger nullable
file_typestring nullable
expires_ininteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.