Prudai Developer API: financing records
The operations of this part (Financing records).
Base URL https://api.prudai.com/v1. Logging in is in Login, scopes in Scopes and permissions, errors in Errors. Overview.
| Method | Path | What it does | State |
|---|---|---|---|
GET | /v1/financing-records | List the financing records of your organisation | Coming soon |
POST | /v1/financing-records | Record a financing request | Coming soon |
GET | /v1/financing-records/{record_id} | Get one financing record with the source of every field | Coming soon |
PATCH | /v1/financing-records/{record_id} | Update a financing record (for example the outcome) | Coming soon |
DELETE | /v1/financing-records/{record_id} | Move a financing record to the trash (soft delete, restorable) | Coming soon |
POST | /v1/financing-records/{record_id}/restore | Restore a financing record from the trash | Coming soon |
GET | /v1/financing-records/benchmark | Benchmark comparable financing records (aggregates only) | Coming soon |
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.
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:read - Approval:
none, no extra step.
Parameters
q
max length 200outcome
One of:open,accepted,rejected,withdrawnfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,otherproject_idinclude_deleted
One of:true,falsedeleted
One of:true,falselimit
default:20· min 1 · max 100cursor
max length 200
Responses
| Status | Meaning |
|---|---|
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.
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:write - Approval:
confirm, the user confirms exactly this call. - Dry run:
?dryRun=trueshows what would happen and stores nothing. - Idempotency: send
Idempotency-Key; the same key with the same body does not run the action twice.
Parameters
Idempotency-Keyrequired
min length 8 · max length 255dryRun
One of:true,false
Body
JSON, required.
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benull
Responses
| Status | Meaning |
|---|---|
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. |
Fields in data (200)
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benullobject
financing_recordid
pattern^fin_[A-Za-z0-9]{20}$origin
One of:workflow,manual,apisource_run_id
may benullsource_workflow_id
may benullsector_section
may benullprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
may benull
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.
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:read - Approval:
none, no extra step.
Parameters
record_idrequired
pattern^fin_[A-Za-z0-9]{20}$include_deleted
One of:true,false
Responses
| Status | Meaning |
|---|---|
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. |
Fields in data (200)
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benullobject
financing_recordid
pattern^fin_[A-Za-z0-9]{20}$origin
One of:workflow,manual,apisource_run_id
may benullsource_workflow_id
may benullsector_section
may benullprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
may benull
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).
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:write - Approval:
confirm, the user confirms exactly this call. - Dry run:
?dryRun=trueshows what would happen and stores nothing. - Concurrent changes: send
If-Matchwith the version you read.
Parameters
record_idrequired
pattern^fin_[A-Za-z0-9]{20}$If-MatchdryRun
One of:true,false
Body
JSON, required.
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benull
Responses
| Status | Meaning |
|---|---|
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. |
Fields in data (200)
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benullobject
financing_recordid
pattern^fin_[A-Za-z0-9]{20}$origin
One of:workflow,manual,apisource_run_id
may benullsource_workflow_id
may benullsector_section
may benullprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
may benull
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).
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:delete - Approval:
review, a second person or role approves. - Dry run:
?dryRun=trueshows what would happen and stores nothing. - Deleting is soft; see Conventions.
Parameters
record_idrequired
pattern^fin_[A-Za-z0-9]{20}$dryRun
One of:true,false
Responses
| Status | Meaning |
|---|---|
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. |
Fields in data (200)
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benullobject
financing_recordid
pattern^fin_[A-Za-z0-9]{20}$origin
One of:workflow,manual,apisource_run_id
may benullsource_workflow_id
may benullsector_section
may benullprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
may benull
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).
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:write - Approval:
confirm, the user confirms exactly this call. - Dry run:
?dryRun=trueshows what would happen and stores nothing.
Parameters
record_idrequired
pattern^fin_[A-Za-z0-9]{20}$dryRun
One of:true,false
Responses
| Status | Meaning |
|---|---|
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. |
Fields in data (200)
title
max length 200project_id
may benullsector_sbi
SBI code (“2562”, “25.62”) or section letter (“C”). may benullfinancials_year
may benullrevenue
may benullebitda
may benullamount
Financing amount in euros. may benullfinancing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,other,null· may benullfinancing_type_detail
max length 200 · may benullleverage
Net debt / EBITDA. may benullltv_pct
may benulldscr
may benulldscr_forward
may benullrate_base
max length 80 · may benullrate_margin_pct
may benullinterest_rate_pct
Final all-in interest rate. may benullclosing_fee_pct
may benullclosing_fee_amount
may benullterm_years
may benullsecuritiesfinancier
max length 200 · may benulloutcome
One of:open,accepted,rejected,withdrawnrejection_category
One of:dscr_too_low,leverage_too_high,insufficient_collateral,sector_risk,track_record,size_mismatch,pricing,other,null· may benullrejection_reason
max length 1000 · may benulllead_time_days
min 0 · may benulldecided_on
may benullnotes
max length 4000 · may benullobject
financing_recordid
pattern^fin_[A-Za-z0-9]{20}$origin
One of:workflow,manual,apisource_run_id
may benullsource_workflow_id
may benullsector_section
may benullprovenance
Per field: {source: workflow|adviser|api, slot?, detail?, run_id?, at}.versioncreated_atupdated_atdeleted_at
may benull
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.
- State: coming soon, not in production yet.
- Scope:
prudai:financing_records:read - Approval:
none, no extra step.
Parameters
revenue_minrevenue_maxebitda_minebitda_maxleverage_minleverage_maxamount_minamount_maxsector
SBI code prefix (“25”, “2562”) or SBI section letter (“C”). max length 10financing_type
One of:term_loan,revolving_credit,mortgage,lease,factoring,subordinated,mezzanine,private_debt,crowdfunding,bridge,otheryear_fromyear_to
Responses
| Status | Meaning |
|---|---|
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