Health & Hygiene
Put Routing Policy
Create or update the caller's routing policy.
Requires X-API-Key or x402 payment ($0.01). Validates that:
- All 6 grades (A-F) are assigned to exactly one category
- escrow_disabled consistency (no escrow grades when disabled)
- Allowlist addresses are valid, max 1000
- No self-allowlisting (caller's own address)
- Allowlisted addresses must have AHS Grade C or above
put/ahs/route/policy
Request
- Base URL: https://agenthealthmonitor.xyz (the document declares no server; this is the origin it was published from)
- URL: https://agenthealthmonitor.xyz/ahs/route/policy
- Auth: none declared
Request body
Example request
{
"instant_grades": [
"A",
"B"
],
"escrow_grades": [
"C"
],
"reject_grades": [
"D",
"E",
"F"
],
"confidence_overrides": {
"C": {
"HIGH": "instant_settle"
},
"D": {
"HIGH": "escrow"
}
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.