{"uid":"cap_wecOgKI8PmXh8o8PaTp9f","slug":"delx-commerce-agent-delivery-quality-score-7b0feaba","name":"Delx Commerce — Agent Delivery Quality Score","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/agent-delivery-quality-score?utm_source=zero.xyz","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_GgJuajYGGxp7mXTDyvbG2","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":"Computes a weighted composite quality score for agent-delivered data, combining latency, validity, freshness, and completeness metrics into a single verifiable score.","exampleAgentPrompt":"Score this agent delivery for me: latency is 0.8, validity is 1.0, freshness is 0.9, completeness is 1.0 — weight them equally and give me the composite quality score.","exampleUseCases":[{"title":"SLA compliance check for agent fleet","prompt":"I need to verify that our agent delivery met quality standards — latency was 0.75, validity 1.0, freshness 0.85, completeness 0.9. Weight validity and completeness at 0.4 each and the others at 0.1. What's the composite quality score?"},{"title":"Benchmark agent output before publishing","prompt":"Before we publish this agent's result, score its delivery quality: latency 0.6, validity 0.95, freshness 1.0, completeness 0.8, with equal weights on all four metrics."},{"title":"Compare delivery runs in a pipeline","prompt":"Give me a delivery quality score for this run — latency 0.5, validity 0.9, freshness 0.7, completeness 1.0 — I want to track whether this run was better than last time using balanced weights."}],"resultDescription":"Returns a JSON object containing a composite quality score (0–1), per-metric scores for latency, validity, freshness, and completeness, the sum of weights used, a transparency flag, an SHA-256 hash of the input for auditability, the number of external calls made (always 0), and a retained flag (always false). The status field indicates pass/fail against the scoring operation.","failureModes":["Missing or invalid numeric metric values may cause computation errors or unexpected scores","Weights that don't sum to 1 may produce non-normalized composite scores","Sending more than 128 weight properties will exceed the maxProperties limit and may be rejected","Malformed JSON body results in a 400-level error","Payment failure (insufficient USDC balance or invalid x402 payment) blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when you need a transparent, auditable, pay-per-use composite quality score for agent deliveries — especially when you want a verifiable SHA-256 input hash and no data retention, suitable for on-chain or contractual SLA verification. Prefer it over building your own weighted scoring logic when you need a standardized, tamper-evident score with a defined schema (delx/util-agent-delivery-quality-score/v1) that can be referenced in delivery contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:01.490Z","isFirstParty":false,"canonicalSlug":"delx-commerce-agent-delivery-quality-score-7b0feaba"}