Verify Agent Reputation (x402 Audit)
verify_agent_reputationExecutes a live <500ms outbound HTTP audit against target_bot_url to measure Synthetic IQ (0-100), round-trip latency, JSON schema compliance, and hallucination risk, persisting a signed certificate (eval_id) to the public ledger. Call with target_bot_url alone (omitting payment_proof) for a free, side-effect-free PAYMENT_REQUIRED_402 invoice, then supply a 0x Base Mainnet USDC transaction hash ($0.005) or X-Agent-Key credit in payment_proof to run the live probe. Use before delegating tasks to a specific endpoint; use get_agent_leaderboard instead for free read-only ranking lookups, or submit_agent_feedback to dispute an existing eval_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_proof | No | Optional 66-character Base Mainnet USDC transaction hash ('0x...') for the $0.005 x402 audit fee or an X-Agent-Key credit token. Omit on initial call to receive the free HTTP 402 payment invoice. | |
| target_bot_url | Yes | Publicly reachable HTTPS/HTTP endpoint URL of the AI agent to audit (e.g. 'https://agent.mifori.com/v1/demo-agent'). Must accept JSON POST probes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error code or payment requirement description if audit was not completed. | |
| status | Yes | Execution status ('VERIFIED', 'PAYMENT_REQUIRED_402', or 'ERROR'). | |
| eval_id | No | Unique identifier (UUID) of the audit evaluation. | |
| latency_ms | No | Measured round-trip execution latency in milliseconds. | |
| synthetic_iq | No | Computed Synthetic IQ score between 0 and 100. | |
| target_bot_url | Yes | Audited target agent URL. | |
| reliability_tier | No | Assigned Mifori trust tier based on IQ and latency. | |
| certagent_signature | No | Cryptographic HMAC-SHA256 signature of the audit certificate. | |
| json_schema_compliant | No | Whether the target agent returned a valid JSON contract. | |
| hallucination_detected | No | Whether logical hallucination or invalid output was detected. |