Reports

Complete report generation

Changed on

Callback from Ollie to update report status and content after generation.

post/v1/private/projects/{projectId}/reports/{reportId}/complete

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/projects/{projectId}/reports/{reportId}/complete
  • Auth
    none declared

Path parameters

projectIdstring uuid required
reportIdstring uuid required

Request body

contentstring
status'pending' | 'completed' | 'failed' required
session_idstring
recommended_actionsJsonNode
failure_reasonstring

Why the report failed. Only 'out_of_credits' is acted on; any other value is recorded but renders as a generic failure.

Response

Report updated

Changes