Developers
A credit intelligence API with the reasons attached.
Upload documents, run analyses and risk assessments, evaluate policies and receive signed webhooks — the same API the CreditLens application uses.
The API runs in the development build. There is no public production endpoint yet; api.aiforg.live is the planned host.
Quickstart
Three steps to a risk assessment
- Step 1
Get a sandbox organisation
Request sandbox access from support@aiforg.live. Then load the synthetic sample borrower from the Overview page.
- Step 2
Create a test API key
In API & Developers, choose scopes. The secret (clk_test_…) is shown once.
- Step 3
Call the API
POST /v1/risk-assessments with an application_id. The response returns five separate signals plus reason codes.
curl -X POST https://api.aiforg.live/v1/risk-assessments \
-H "Authorization: Bearer clk_test_…" \
-H "Idempotency-Key: 6c1f7e0c-…" \
-d '{"application_id": "5b8e…"}'
{
"signals": {
"risk_index": { "value": 34, "band": "moderate",
"method": "cfie-scorecard-0.1-illustrative", "validated": false },
"probability_of_default": { "status": "not_available",
"reason": "no_validated_model" },
"model_confidence": { "status": "not_applicable" },
"data_quality": { "score": 0.93, "missing_documents": ["tax_document"] },
"policy": { "outcome": "refer", "triggered": ["R2", "R4"] }
},
"reason_codes": [{ "code": "CL-LQ01", "text": "Current ratio below policy minimum" }, …]
}Reference
Everything you need
Authentication
Webhooks
Sandbox
API reference
Errors
SDKs
API status
No production API is running, so there is no public status page yet. When production launches, status will be published at status.aiforg.live. The development API exposes GET /v1/health.
Changelog
- 2026-11-24 — v1 development release: borrowers, applications, documents, analysis, risk, policies, portfolio, reports, audit, keys, webhooks.
See CreditLens work on a synthetic MSME file.
Walk through document processing, cash-flow analysis, indicators, risk signals and the underwriting report in about five minutes. No sign-up required.