Skip to Content
Docs
Get startedPartner API v4Partner API v3Android SDK

Generate reports

Start the combined inference that produces the application's report PDFs, once every task is complete.

POST/partner/v1/applications/:id/generate-reports
Try it in the playground

No request body.

Every task must be complete first. The PDFs are not ready when this returns either: they land later, when the pipeline finishes, and arrive with the case.completed callback.

curl -X POST "$BASE/applications/LOAN-2026-0007/generate-reports" -H "api-key: $KEY"

Response 200 OK

{
  "ok": true,
  "workflows": { "combined_workflow_id": "WF0C31524B69..." },
  "reports": ["pd_quality", "business_pd", "risk_report"],
  "message": "Report generation started. The PDFs appear under Reports when the executor finishes."
}

Errors

StatusCodeWhen
404not_foundNo application with that reference.
409case_not_readyReports were requested before every task was complete. The response carries pending_tasks, so you can see what is outstanding.
409case_rejectedThe application was rejected.
502report_generation_failedThe pipeline did not accept the run. The message carries its error.

Unlike the editing endpoints this refuses a rejected application only. Running it again on a completed one to re-send the callback is intentional and supported, which is the usual fix when a callback was lost at your end.

On this page