Auto Approval Evaluator
API Contract
REST
/api/v1/claims
1 endpoint
POST
/api/v1/claims/api/v1/claims/:id/evaluate
Evaluate whether a claim qualifies for auto-approval based on org threshold and absence of additional expenses. Returns computed status without mutating the claim.
Public
Request Example
{
"claim_id": "clm_01HXQR9B2T",
"org_id": "org_xyz789"
}
Response Example
{
"claim_id": "clm_01HXQR9B2T",
"recommended_status": "auto_approved",
"distance_km": 42.5,
"threshold_km": 50,
"below_threshold": true,
"has_additional_expenses": false,
"evaluated_at": "2026-03-25T14:30:01Z"
}