Prudai Developer API: financieringsdatabase
The financing database of the organisation (financing requests, outcomes) and its aggregate benchmark. Personal tokens only; never issuable to a service key.
Basis-URL https://api.prudai.com/v1. Inloggen staat in Inloggen, scopes in Scopes en rechten, fouten in Fouten. Overzicht.
| Methode | Pad | Wat het doet | Stand |
|---|---|---|---|
GET | /v1/financing-records | List the financing records of your organisation | Binnenkort |
POST | /v1/financing-records | Record a financing request | Binnenkort |
GET | /v1/financing-records/{record_id} | Get one financing record with the source of every field | Binnenkort |
PATCH | /v1/financing-records/{record_id} | Update a financing record (for example the outcome) | Binnenkort |
DELETE | /v1/financing-records/{record_id} | Move a financing record to the trash (soft delete, restorable) | Binnenkort |
POST | /v1/financing-records/{record_id}/restore | Restore a financing record from the trash | Binnenkort |
GET | /v1/financing-records/benchmark | Benchmark comparable financing records (aggregates only) | Binnenkort |
List the financing records of your organisation
GET /v1/financing-records
Personal tokens and signed-in users only (403 personal_token_required for a service key). The
financing database of the organisation: one record per financing request, with the figures from the
financing workflow (sector, revenue, EBITDA, amount, type, leverage, LTV, DSCR, term, securities) and
the outcome the adviser adds (financier, accepted or rejected, reason, rate, closing fee, lead time).
Never records of another organisation. Newest first; deleted=true lists the trash.
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:read - Goedkeuring:
none, geen extra stap.
Parameters
q
max. lengte 200outcome
Een van:open,accepted,rejected,withdrawnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,otherproject_idinclude_deleted
Een van:true,falsedeleted
Een van:true,falselimit
standaard:20· min. 1 · max. 100cursor
max. lengte 200
Antwoorden
| Status | Betekenis |
|---|---|
200 | One page of financing records. |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
422 | Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body). |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
curl -s "https://api.prudai.com/v1/financing-records" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo financing-records list[ { "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string", "object": "financing_record", "id": "string", "origin": "workflow", "source_run_id": "string", "source_workflow_id": "string", "sector_section": "string", "provenance": {}, "version": 1, "created_at": "2026-11-05T09:30:00.000Z", "updated_at": "2026-11-05T09:30:00.000Z", "deleted_at": "2026-11-05T09:30:00.000Z" }]Record a financing request
POST /v1/financing-records
Personal tokens and signed-in users only; a member with a writing role. Requires an
Idempotency-Key (8–255 characters): repeating the call returns the same record. Only title is
required; outcome defaults to open. Rejection fields belong to outcome: rejected.
?dryRun=true validates and shows the record without storing it. Waits for a human (confirm):
the first call answers 202 with an approval request; repeat the exact call with
x-prudai-approval: apr_… once a human approved it.
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:write - Goedkeuring:
confirm, de gebruiker bevestigt precies deze aanroep. - Dry run:
?dryRun=truelaat zien wat er zou gebeuren en slaat niets op. - Idempotentie: stuur
Idempotency-Keymee; dezelfde sleutel met dezelfde body voert de actie niet twee keer uit.
Parameters
Idempotency-Keyverplicht
min. lengte 8 · max. lengte 255dryRun
Een van:true,false
Body
JSON, verplicht.
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijn
Antwoorden
| Status | Betekenis |
|---|---|
200 | A repeat of an earlier call with the same key, or a dry run. |
201 | Created. |
202 | Waiting for human approval (ApprovalRequest). |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
422 | Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body). |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
Velden in data (200)
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijnobject
financing_recordid
patroon^fin_[A-Za-z0-9]{20}$origin
Een van:workflow,manual,apisource_run_id
kannullzijnsource_workflow_id
kannullzijnsector_section
kannullzijnprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
kannullzijn
curl -s -X POST "https://api.prudai.com/v1/financing-records" \ -H "Authorization: Bearer $PRUDAI_TOKEN" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string" }'prudai leo financing-records create{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string", "object": "financing_record", "id": "string", "origin": "workflow", "source_run_id": "string", "source_workflow_id": "string", "sector_section": "string", "provenance": {}, "version": 1, "created_at": "2026-11-05T09:30:00.000Z", "updated_at": "2026-11-05T09:30:00.000Z", "deleted_at": "2026-11-05T09:30:00.000Z"}Get one financing record with the source of every field
GET /v1/financing-records/{record_id}
provenance names per field where the value came from: the workflow slot (fin.2025.dscr,
loan.principal) with the run, or adviser/api when a person set it. An unknown id and a record of
another organisation both answer 404 financing_record_not_found.
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:read - Goedkeuring:
none, geen extra stap.
Parameters
record_idverplicht
patroon^fin_[A-Za-z0-9]{20}$include_deleted
Een van:true,false
Antwoorden
| Status | Betekenis |
|---|---|
200 | The record. |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
404 | Unknown model, source or document. |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
Velden in data (200)
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijnobject
financing_recordid
patroon^fin_[A-Za-z0-9]{20}$origin
Een van:workflow,manual,apisource_run_id
kannullzijnsource_workflow_id
kannullzijnsector_section
kannullzijnprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
kannullzijn
curl -s "https://api.prudai.com/v1/financing-records/<record_id>" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo financing-records get{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string", "object": "financing_record", "id": "string", "origin": "workflow", "source_run_id": "string", "source_workflow_id": "string", "sector_section": "string", "provenance": {}, "version": 1, "created_at": "2026-11-05T09:30:00.000Z", "updated_at": "2026-11-05T09:30:00.000Z", "deleted_at": "2026-11-05T09:30:00.000Z"}Update a financing record (for example the outcome)
PATCH /v1/financing-records/{record_id}
Any subset of the writable fields. Optimistic concurrency: send If-Match: "<version>" from the
last read; a stale version answers 409 version_conflict. Setting outcome to something other than
rejected clears a stored rejection reason. A field you set becomes adviser/api in provenance,
and a later workflow run no longer overwrites it. ?dryRun=true shows the result without storing it.
Waits for a human (confirm).
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:write - Goedkeuring:
confirm, de gebruiker bevestigt precies deze aanroep. - Dry run:
?dryRun=truelaat zien wat er zou gebeuren en slaat niets op. - Gelijktijdig wijzigen: stuur
If-Matchmee met de versie die je las.
Parameters
record_idverplicht
patroon^fin_[A-Za-z0-9]{20}$If-MatchdryRun
Een van:true,false
Body
JSON, verplicht.
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijn
Antwoorden
| Status | Betekenis |
|---|---|
200 | The updated record (or the dry-run result). |
202 | Waiting for human approval (ApprovalRequest). |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
404 | Unknown model, source or document. |
409 | The record changed since you read it (version_conflict). |
422 | Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body). |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
Velden in data (200)
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijnobject
financing_recordid
patroon^fin_[A-Za-z0-9]{20}$origin
Een van:workflow,manual,apisource_run_id
kannullzijnsource_workflow_id
kannullzijnsector_section
kannullzijnprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
kannullzijn
curl -s -X PATCH "https://api.prudai.com/v1/financing-records/<record_id>" \ -H "Authorization: Bearer $PRUDAI_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string" }'prudai leo financing-records update{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string", "object": "financing_record", "id": "string", "origin": "workflow", "source_run_id": "string", "source_workflow_id": "string", "sector_section": "string", "provenance": {}, "version": 1, "created_at": "2026-11-05T09:30:00.000Z", "updated_at": "2026-11-05T09:30:00.000Z", "deleted_at": "2026-11-05T09:30:00.000Z"}Move a financing record to the trash (soft delete, restorable)
DELETE /v1/financing-records/{record_id}
Owner or Admin. The record leaves lists and the benchmark and can be restored with
restoreFinancingRecord. ?dryRun=true changes nothing. Waits for a human (review).
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:delete - Goedkeuring:
review, een tweede persoon of rol keurt goed. - Dry run:
?dryRun=truelaat zien wat er zou gebeuren en slaat niets op. - Verwijderen is zacht; zie Conventies.
Parameters
record_idverplicht
patroon^fin_[A-Za-z0-9]{20}$dryRun
Een van:true,false
Antwoorden
| Status | Betekenis |
|---|---|
200 | In the trash (deleted_at set), or a dry run. |
202 | Waiting for human approval (ApprovalRequest). |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
404 | Unknown model, source or document. |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
Velden in data (200)
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijnobject
financing_recordid
patroon^fin_[A-Za-z0-9]{20}$origin
Een van:workflow,manual,apisource_run_id
kannullzijnsource_workflow_id
kannullzijnsector_section
kannullzijnprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
kannullzijn
curl -s -X DELETE "https://api.prudai.com/v1/financing-records/<record_id>" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo financing-records delete{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string", "object": "financing_record", "id": "string", "origin": "workflow", "source_run_id": "string", "source_workflow_id": "string", "sector_section": "string", "provenance": {}, "version": 1, "created_at": "2026-11-05T09:30:00.000Z", "updated_at": "2026-11-05T09:30:00.000Z", "deleted_at": "2026-11-05T09:30:00.000Z"}Restore a financing record from the trash
POST /v1/financing-records/{record_id}/restore
Owner or Admin. 409 project_has_record when the dossier meanwhile has another active workflow
record. ?dryRun=true changes nothing. Waits for a human (confirm).
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:write - Goedkeuring:
confirm, de gebruiker bevestigt precies deze aanroep. - Dry run:
?dryRun=truelaat zien wat er zou gebeuren en slaat niets op.
Parameters
record_idverplicht
patroon^fin_[A-Za-z0-9]{20}$dryRun
Een van:true,false
Antwoorden
| Status | Betekenis |
|---|---|
200 | Restored (or a dry run). |
202 | Waiting for human approval (ApprovalRequest). |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
404 | Unknown model, source or document. |
409 | The dossier already has another active record from the financing workflow (project_has_record), or a version conflict. |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
Velden in data (200)
title
max. lengte 200project_id
kannullzijnsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). kannullzijnfinancials_year
kannullzijnrevenue
kannullzijnebitda
kannullzijnamount
Financing amount in euros. kannullzijnfinancing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· kannullzijnfinancing_type_detail
max. lengte 200 · kannullzijnleverage
Net debt / EBITDA. kannullzijnltv_pct
kannullzijndscr
kannullzijndscr_forward
kannullzijnrate_base
max. lengte 80 · kannullzijnrate_margin_pct
kannullzijninterest_rate_pct
Final all-in interest rate. kannullzijnclosing_fee_pct
kannullzijnclosing_fee_amount
kannullzijnterm_years
kannullzijnsecuritiesfinancier
max. lengte 200 · kannullzijnoutcome
Een van:open,accepted,rejected,withdrawnrejection_category
Een van:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· kannullzijnrejection_reason
max. lengte 1000 · kannullzijnlead_time_days
min. 0 · kannullzijndecided_on
kannullzijnnotes
max. lengte 4000 · kannullzijnobject
financing_recordid
patroon^fin_[A-Za-z0-9]{20}$origin
Een van:workflow,manual,apisource_run_id
kannullzijnsource_workflow_id
kannullzijnsector_section
kannullzijnprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
kannullzijn
curl -s -X POST "https://api.prudai.com/v1/financing-records/<record_id>/restore" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo financing-records restore{ "title": "string", "project_id": "00000000-0000-4000-8000-000000000000", "sector_sbi": "string", "financials_year": 1, "revenue": 1, "ebitda": 1, "amount": 1, "financing_type": "term_loan", "financing_type_detail": "string", "leverage": 1, "ltv_pct": 1, "dscr": 1, "dscr_forward": 1, "rate_base": "string", "rate_margin_pct": 1, "interest_rate_pct": 1, "closing_fee_pct": 1, "closing_fee_amount": 1, "term_years": 1, "securities": [ "string" ], "financier": "string", "outcome": "open", "rejection_category": "dscr_too_low", "rejection_reason": "string", "lead_time_days": 1, "decided_on": "2026-11-05", "notes": "string", "object": "financing_record", "id": "string", "origin": "workflow", "source_run_id": "string", "source_workflow_id": "string", "sector_section": "string", "provenance": {}, "version": 1, "created_at": "2026-11-05T09:30:00.000Z", "updated_at": "2026-11-05T09:30:00.000Z", "deleted_at": "2026-11-05T09:30:00.000Z"}Benchmark comparable financing records (aggregates only)
GET /v1/financing-records/benchmark
Aggregates over the DECIDED records (accepted or rejected) of your own organisation in the segment
you describe, for example revenue 2–5 million and leverage 2.5–3.0. Returns counts, acceptance rate,
median and quartiles (linear interpolation, Excel QUARTILE.INC) of the accepted terms, and the
distribution of financing structures, financiers and rejection reasons. Below 10 decided records the
answer is status: insufficient without a single figure; a metric with fewer than 10 values is
omitted with its reason; a category with fewer than 3 records merges into overig. Never a single
record, never data of another organisation. Computed by the server, not by a language model.
- Stand: binnenkort, nog niet op productie.
- Scope:
prudai:financing_records:read - Goedkeuring:
none, geen extra stap.
Parameters
revenue_minrevenue_maxebitda_minebitda_maxleverage_minleverage_maxamount_minamount_maxsector
SBI code prefix (“25”, “2562”) or SBI section letter (“C”). max. lengte 10financing_type
Een van:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,otheryear_fromyear_to
Antwoorden
| Status | Betekenis |
|---|---|
200 | The benchmark, or status insufficient below 10 decided records. |
401 | Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment. |
403 | Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution). |
422 | Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body). |
429 | Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded. |
503 | Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged. |
curl -s "https://api.prudai.com/v1/financing-records/benchmark" \ -H "Authorization: Bearer $PRUDAI_TOKEN"prudai leo financing-records benchmark