CreditLens AI is in development. Explore the interactive demo with synthetic dataOpen demo →
CreditLens AIby AiForge

Platform · Integrate

Embed financial intelligence in your own lending stack.

Everything the CreditLens app does runs through the same versioned REST API. Digital lenders can upload documents, run analyses and receive signed webhooks without using our UI.

Built · dev release

A REST API with scoped API keys, idempotency, pagination, signed webhooks and usage metering runs in the development build. There is no public production endpoint yet.

Customer problem

Lenders need analysis inside their LOS, not in another tab

Embedding a vendor usually means brittle exports, unclear error handling and keys with too much power.

  • All-powerful API keys
  • Duplicate submissions on retries
  • Unsigned callbacks

Platform capability

/v1 REST API with cursor pagination, Idempotency-Key, RFC 9457 errors, scoped keys (shown once, stored as HMAC) and HMAC-signed webhooks.

How it works

Inside Developer API Platform

  1. 01

    Create a key

    Choose scopes. The secret is shown once, and rotation includes a grace window.

  2. 02

    Send documents

    POST /v1/documents/upload returns 202. Processing runs asynchronously.

  3. 03

    Receive events

    document.processed, risk_assessment.completed… each signed with t=…,v1=…

  4. 04

    Fetch results

    Signals are returned as separate objects, with provenance on every metric.

Functional features

What you can do

Scoped keys

borrowers:read, documents:write, analysis:run… Human-only actions such as recording decisions are never available to keys.

Idempotency

Safe retries with the Idempotency-Key header. A reused key with a different body returns 422.

Signed webhooks

HMAC-SHA256, a five-minute tolerance, retries up to 24 h and an SSRF guard on URLs.

Usage metering

Per-key call counts and document units, visible in the developer console.

OpenAPI 3.1

A machine-readable spec served by the API.

Sandbox

Test keys and synthetic sample borrowers.

Example output

Rendered from the synthetic demo dataset

Request and trimmed response — signals are returned separately.

These components are rendered by the same engine code as the application, using the fictional Aarav Components Private Limited file. They are not screenshots or mock-ups.

POST /v1/risk-assessmentsdevelopment build
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" }, …]
}

Business benefits

  • Integrate without UI dependency
  • Predictable failure handling
  • Least-privilege credentials

Benefits are described qualitatively. We do not publish efficiency or accuracy figures until they have been measured with a customer, using a stated method.

Technical differentiation

Provenance in the payload

Each metric carries its formula, inputs and status.

Decision boundary in the API

Decision endpoints reject API keys by design.

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.