Get the review view
const url = 'http://localhost:8080/v1/loans/example/review';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/loans/example/reviewEverything the workstation needs to decide: the loan, the latest run’s findings with their action history, whether approval is possible (canApprove) and the blockers if not, the bank’s override reason codes and the minimum justification length. Any staff role or an API key with status:read. 404 for an unknown reference.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
GET /v1/loans/{ref}/review: everything the workstation needs to decide; findings of the latest run with
their actions, whether approval is possible and why not, and the bank’s reason-code policy.
object
object
A finding with its action history; the row the workstation panel shows.
object
object
Stored as findings.detail_json: the human sentence plus every source the finding points at.
object
Where a finding points (document / page / box); the provenance the workstation deep-links to.
object
object
Examplegenerated
{ "loan": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "externalRef": "example", "packageVersion": 1, "borrowerName": "example", "expectedPrincipal": "example", "state": "example", "hasExceptions": true, "assigneeId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "createdBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z" }, "runId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "findings": [ { "finding": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "runId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "loanId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ruleId": "example", "severity": "example", "status": "example", "title": "example", "detail": { "message": "example", "sources": [ { "documentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "source": "example", "field": "example", "value": "example", "pageNo": 1, "bbox": { "x": 1, "y": 1, "w": 1, "h": 1 } } ], "data": "example" }, "createdAt": "2026-04-15T12:00:00Z", "blocksApproval": true }, "actions": [ { "id": 1, "findingId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "action": "example", "reasonCode": "example", "note": "example", "actorId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "actorName": "example", "occurredAt": "2026-04-15T12:00:00Z" } ] } ], "canApprove": true, "blockers": [ "example" ], "reasonCodes": [ "example" ], "justificationMinLength": 1}