{"uid":"cap_A7Lll4uemRC9oPVoto2WL","slug":"agent-output-verifier-eebf52f2","name":"Agent Output Verifier","description":"Check an AI agent's track record: signed verification history, pass/fail counts, recency-weighted score. $0.01 per lookup when there is a score; a lookup for an AI agent with no history is answered free, signed. USDC via x402 v2 (Base/Solana).","url":"https://score.sarnai.dev/score/:agent_id?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["agent_id"],"properties":{"agent_id":{"type":"string","maxLength":200,"minLength":1,"description":"The agent_id to score."}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"TrustScoreResponse","required":["agent_id","identity_verified","trust_score","sample_size","confidence_interval_95","basis","reason","factors","verified_count","passed_count","failed_count","last_seen","computed_at","verify","attestation"],"properties":{"basis":{"type":"string","title":"Basis","description":"Names the formula behind trust_score. Its meaning never changes under the same name; a different formula gets a different basis."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"null when scored. 'no_data': no verification history at all. 'insufficient_recent_data': history exists but has decayed to under 0.05 effective observations."},"verify":{"type":"object","title":"VerifySection","required":["public_key_url","key_version","canonicalization","hash_algorithm","service","mcp"],"properties":{"mcp":{"type":"string","title":"Mcp","description":"This service's MCP (Model Context Protocol) endpoint."},"service":{"type":"string","title":"Service","description":"This service's name."},"key_version":{"type":"string","title":"Key Version","description":"Matches attestation.key_version."},"hash_algorithm":{"type":"string","title":"Hash Algorithm","description":"Algorithm behind every *_hash field in this response."},"public_key_url":{"type":"string","title":"Public Key Url","description":"Agent-card URL listing the public key for key_version below, and every key this service has ever signed with."},"canonicalization":{"type":"string","title":"Canonicalization","description":"How every hash below, and the signed bytes themselves, are computed."}},"description":"How to verify this attestation and receipt without any other lookup than this response and public_key_url: canonicalization and hash algorithm, this service's name, and its MCP endpoint."},"factors":{"type":"array","items":{"type":"object","title":"ScoreFactor","required":["name","value","confidence_interval_95","sample_size","effective_sample_size","parameters"],"properties":{"name":{"type":"string","title":"Name","description":"Stable identifier of this factor."},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value","description":"Factor value in [0, 1]; null when it cannot be computed (see the response's `reason`)."},"parameters":{"type":"object","title":"Parameters","description":"Parameters in force, so the value can be reproduced.","additionalProperties":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]}},"sample_size":{"type":"integer","title":"Sample Size","description":"Raw number of verification calls behind this factor, all history."},"effective_sample_size":{"type":"number","title":"Effective Sample Size","description":"Sum of the recency weights: how many 'recent-equivalent' observations the history is worth. This, not sample_size, is what the interval is computed from."},"confidence_interval_95":{"anyOf":[{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2},{"type":"null"}],"title":"Confidence Interval 95","description":"[lower, upper] 95% Wilson score interval; null when value is null."}},"description":"One input to the score. v1 has exactly one; later versions add entries here."},"title":"Factors","description":"The inputs behind trust_score. v1 has one entry; consumers should ignore entries they don't recognize, so factors can be added without breaking them."},"agent_id":{"type":"string","title":"Agent Id","description":"Identifies the AI agent that produced the output checked by the /verify/schema calls this score is built from (for example, the seller): this record belongs to that producer."},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen","description":"ISO-8601 UTC time of the most recent verification on record; null when there is none. Like agent_id itself, this reflects calls made under this label by anyone."},"attestation":{"type":"object","title":"Attestation","required":["algorithm","key_version","timestamp","signature"],"properties":{"algorithm":{"type":"string","const":"Ed25519","title":"Algorithm"},"signature":{"type":"string","title":"Signature"},"timestamp":{"type":"string","title":"Timestamp"},"key_version":{"type":"string","title":"Key Version"}},"description":"Ed25519 signature over this response (every field above) with the same key as /verify/schema, under the context 'json-schema-verifier/trust-score-attestation/v1'. Verification steps: /.well-known/agent-card.json."},"computed_at":{"type":"string","title":"Computed At","description":"ISO-8601 UTC time the score was computed; ages are measured from here."},"sample_size":{"type":"integer","title":"Sample Size","description":"Total verification calls on record for this agent_id."},"trust_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Trust Score","description":"Recency-weighted pass rate as a raw float in [0.0, 1.0]; null when there is nothing meaningful to report (see `reason`). A statistical summary of structural verification history, not a measure of overall trustworthiness and not a prediction of future behavior."},"failed_count":{"type":"integer","title":"Failed Count","description":"How many of those calls returned result 'fail'."},"passed_count":{"type":"integer","title":"Passed Count","description":"How many of those calls returned result 'pass'."},"verified_count":{"type":"integer","title":"Verified Count","description":"Raw number of /verify/schema calls on record for this agent_id (all history, no recency weighting). Equals sample_size."},"identity_verified":{"type":"boolean","title":"Identity Verified","description":"Whether agent_id is bound to a proven identity. Currently always false: agent_id is an unauthenticated label chosen by whoever called /verify/schema, so this history may include calls made by anyone under that id, and the score says nothing about who the AI agent really is. It flips to true only if and when identity is actually authenticated."},"confidence_interval_95":{"anyOf":[{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2},{"type":"null"}],"title":"Confidence Interval 95","description":"[lower, upper] 95% Wilson score interval around trust_score, computed from the effective (recency-discounted) sample size. Wide = little recent evidence."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_L-Rv7L0bNK6DtcJXZxkEJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a signed trust score and pass/fail verification history for an AI agent by its agent_id, with cryptographic attestation.","exampleAgentPrompt":"Can you check the trust score and verification history for the AI agent with ID 'agent_abc123' — I want to see its pass/fail counts and recency-weighted score before I decide to use it.","exampleUseCases":[{"title":"Pre-deployment agent vetting","prompt":"Before we integrate this third-party agent into our pipeline, can you pull its trust score and show me how many verifications it has passed and failed historically? The agent ID is 'agent_7f3d91c'."},{"title":"Zero-history agent detection","prompt":"I'm about to hire agent 'agent_newbot42' for a task — can you check if it has any signed verification history at all, or is it completely unscored?"},{"title":"Reputation audit for agent marketplace","prompt":"I'm comparing two agents on the marketplace. Can you get the recency-weighted trust scores and confidence intervals for agent IDs 'agent_alpha01' and 'agent_beta99' so I can decide which one to trust?"}],"resultDescription":"Returns a signed JSON payload containing: the agent's trust_score (recency-weighted float), sample_size, 95% confidence interval, pass/fail/verified counts, last_seen timestamp, the scoring basis formula name, a reason field (null if scored, or 'no_data'/'insufficient_recent_data'), and a cryptographic attestation with public key URL, key version, hash algorithm, and MCP service metadata. Lookups for agents with no history are answered free and still cryptographically signed.","failureModes":["Agent ID not found returns a signed response with reason='no_data' at no charge","Agent history exists but has decayed below 0.05 effective observations returns reason='insufficient_recent_data'","Malformed or missing agent_id path parameter returns a 400-level error","Payment not provided or insufficient USDC via x402 v2 results in a 402 Payment Required response for scored agents","Cryptographic signature verification failure if public key cannot be fetched from public_key_url"],"whenToPreferThis":"Use this endpoint when you need a cryptographically signed, recency-weighted trust score for an AI agent before integrating it into a workflow or marketplace decision. Prefer this over general reputation APIs when you need tamper-evident attestations with pass/fail history, a named scoring formula (basis), and confidence intervals. Especially useful when agents have no prior history — the free signed no-data response lets you confirm the absence of a record without paying.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:30:26.013Z","isFirstParty":false,"canonicalSlug":"agent-output-verifier-eebf52f2"}