API spec
The Underwriting API provides comprehensive endpoints for float and loan eligibility evaluation, profile management, and evaluation history.
All endpoint documentation, request/response examples, and behavioral details are included in the interactive API explorer below.
Error responses
All non-2xx responses share the Error schema. Alongside the long-standing
code (integer) and message (string) fields, error responses now carry two
additive fields:
| Field | Type | Description |
|---|---|---|
|
integer |
Duplicate of |
|
string enum ( |
Machine-readable failure category: |
status_code and error_code are additive — existing consumers that
parse only code/message are unaffected. Both the old and new fields are
populated on every error response.
|
Framework-level validation failures that happen before a handler runs also return
this same JSON Error shape (not a plaintext body):
-
A missing or malformed path/query parameter (for example,
amountabsent or non-integer) returns400witherror_code: INVALID_CALLER. -
An undecodable request body returns
400witherror_code: INVALID_REQUEST_BODY.
See Also
-
System Architecture - API Gateway and Lambda integration
-
Lambda Functions - API Lambda implementation details
-
Rule Engine - Evaluation logic behind endpoints