{"uid":"cap_w0hRxBzyugJkVYZaBF4Yo","slug":"agent-delivery-quality-score-96d519ae","name":"Agent Delivery Quality Score","description":"Agent Delivery Quality Score: Agent Delivery Quality Score calculates a transparent weighted score from completeness, validity, freshness, and latency from bounded caller-supplied values without an external provider. Call Agent Delivery Quality Score before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for Agent…","url":"https://api.delx.ai/api/v1/x402/agent-delivery-quality-score","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"latency":{"type":"number","description":"Latency supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."},"weights":{"type":"object","description":"Weights supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"validity":{"type":"number","description":"Validity supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."},"freshness":{"type":"number","description":"Freshness supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."},"completeness":{"type":"number","description":"Completeness supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"score":0.9400000000000001,"metrics":{"latency":0.8,"validity":1,"freshness":0.9,"completeness":1},"weight_sum":1,"transparent":true},"schema":"delx/util-agent-delivery-quality-score/v1","status":"pass","evidence":{"retained":false,"input_sha256":"cce23822ce9e5cb7271993a6931664faf8680057ceef67cebf099e946d13ba8f","external_calls":0},"operation":"delivery_contract:agent_delivery_quality_score"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aJyD3pJUxD23zo9vKiOjc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates a weighted quality score for agent deliveries by combining completeness, validity, freshness, and latency metrics to produce an accept/reject decision.","exampleAgentPrompt":"Before I accept and pay for this agent delivery, score its quality using completeness 0.9, validity 0.85, freshness 0.7, and latency 320 — with weights of 0.3 for completeness, 0.3 for validity, 0.25 for freshness, and 0.15 for latency — and tell me whether I should accept or reject it.","exampleUseCases":[{"title":"Pre-payment x402 delivery gate","prompt":"I just received an agent delivery for my x402 task and want to know if it's worth paying for — run a quality score check on it with completeness 0.95, validity 0.8, freshness 0.6, latency 500, and equal weights across all four dimensions."},{"title":"Low-freshness delivery rejection check","prompt":"This agent result came back with completeness 0.75, validity 0.9, freshness 0.2, and latency 200 — weight freshness heavily at 0.5, and tell me if that stale result should be accepted or rejected."},{"title":"High-throughput delivery acceptance pipeline","prompt":"Score this batch of agent delivery metrics — completeness 1.0, validity 1.0, freshness 0.95, latency 80 — using weights 0.25 each, and confirm whether this delivery passes quality checks so I can auto-accept it."}],"resultDescription":"Returns a weighted composite quality score, an explicit accept or reject status, normalized evidence values for each input dimension, contract-specific check results, and mismatch reasons explaining any failures.","failureModes":["Missing required input fields (completeness, validity, freshness, latency) returns a validation error","Out-of-range values (e.g. scores above 1.0 or negative latency) may produce incorrect scoring","Weights object with more than 128 properties is rejected","Malformed JSON body returns a 400 bad request","Payment not sent or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a transparent, deterministic quality gate before accepting or paying for an x402 agent delivery. It is ideal when you have caller-supplied metrics and want a normalized, weighted score with an explicit pass/fail verdict rather than running ad hoc threshold logic yourself. Prefer this over manual scoring when auditability and mismatch explanations are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:47.460Z","isFirstParty":false}