Corgi BankDocumentation
OpenAPI

Lending risk

POSTCapture a replayable draft LAR or CECL input snapshot with source IDs, hashes and explicit validation limitations/lending-risk/exports · Dedicated export authority requiredPOSTCapture current source data and execute the approved CECL model/lending-risk/cecl/executions · Dedicated lending:risk:exportPOSTPropose versioned evidenced CECL model assumptions/lending-risk/cecl/models · Dedicated lending:risk:write human staff with fresh authenticationGETRetrieve the immutable export with purpose-bound sensitive-access evidence/lending-risk/exports/{export} · Dedicated export authority and nonempty purpose query required, including when retrieving previously captured bytesGETRead a segregated revision with sensitive-access evidence/lending-risk/revisions/{revision} · Dedicated read authority and a nonempty purpose query required; access is recordedGETRead immutable CECL model or execution evidence/lending-risk/cecl/records/{id} · Dedicated lending:risk:read with nonempty purpose; access retainedPOSTIndependently approve or reject a captured correction; stale corrections never overwrite the current record/lending-risk/revisions/{revision}/decisions · Dedicated approve authority, fresh staff authentication and an actor different from the maker requiredPOSTIndependently approve source-bound CECL model or output/lending-risk/cecl/records/{id}/reviews · Dedicated lending:risk:approve, recent human authentication, different maker and no credit-decision scopesPOSTCapture an immutable regulatory correction against its approved predecessor; dedicated staff scope and recent authentication/lending-risk/targets/{kind}/{target}/revisions · Requires dedicated lending:monitoring:write or lending:risk:write staff authority and authentication within five minutesGETRead at most 200 segregated revisions after an ID, recording the purpose of access/lending-risk/targets/{kind}/{target}/revisions · Dedicated read authority and a nonempty purpose query required

to move to open esc to close