Chat

Generate Report

Generate report endpoint - handles both initial generation (v1) and regeneration (v2+).

Auto-Detection:

  • If active version not generated → Generates v1
  • If active version already generated → Creates new version automatically, then generates

Frontend always calls this single endpoint - no need to know about versions!

post/api/v1/generate-report

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

Request body

report_idstring required
report_version_idstring nullable
output_typestring nullable

Response

Successful Response

successboolean required
messagestring required
report_idstring required
report_version_idstring nullable
versioninteger nullable
output_typestring nullable
s3_uriobject nullable
modifiedboolean nullable
already_existsboolean nullable

Changes

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