Health & Hygiene

Get Trust Route

Lightweight trust routing signal from the most recent cached AHS score.

Returns a routing recommendation (instant_settle / escrow / reject) without re-running the full AHS scoring pipeline. Useful for payment gateways and agent orchestrators that need a fast trust check.

get/ahs/route/{address}

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/{address}
  • Auth: none declared

Path parameters

addressstring required

Ethereum wallet address (0x-prefixed, 40 hex chars)

Example:0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae

Response

Successful Response

addressstring required

Wallet address queried

agent_health_scoreinteger required

Most recent AHS score 0-100

gradestring required

Letter grade A-F

routing_recommendationstring required

Trust-based routing signal: instant_settle, escrow, or reject

confidencestring required

Score confidence level

scored_atstring required

ISO 8601 timestamp of the cached score

staleboolean required

True if the cached score is older than 24 hours

policy_appliedboolean

True if a custom routing policy was used for this recommendation

allowlistedboolean

True if this address is in the caller's allowlist (instant_settle bypass)

Example response

{
  "address": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
  "agent_health_score": 67,
  "grade": "C",
  "routing_recommendation": "escrow",
  "confidence": "high",
  "scored_at": "2025-04-06T10:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.