{"uid":"cap_ANNcBq9fC5h45xTmOEq6f","slug":"writerslogic-pod-sufficiency-checker-7fa54ce1","name":"WritersLogic POD Sufficiency Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/pod-sufficiency?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2}))?$","maxLength":40,"description":"Reference instant (ISO date or instant) for evidence age; required only when a need sets maxAgeDays. The check never reads the clock."},"anyOf":{"type":"array","items":{"type":"object","required":["id","keys"],"properties":{"id":{"type":"string","maxLength":100,"description":"Group id."},"keys":{"type":"array","items":{"type":"string","maxLength":100,"description":"Evidence key."},"maxItems":20,"minItems":1},"atLeast":{"type":"integer","maximum":20,"minimum":1}},"additionalProperties":false},"maxItems":20,"description":"Alternative groups: at least atLeast (default 1) of the keys must be present."},"evidence":{"type":"array","items":{"type":"object","required":["key"],"properties":{"key":{"type":"string","maxLength":100},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2}))?$","maxLength":40,"description":"When this was observed (ISO date or instant)."},"value":{"description":"Observed JSON value. Omitted means the fact is present with no value; false or null means observed absent."},"source":{"type":"string","maxLength":200}},"additionalProperties":false},"maxItems":500,"description":"Proof elements the caller holds."},"required":{"type":"array","items":{"type":"object","required":["key"],"properties":{"key":{"type":"string","maxLength":100,"description":"Evidence key this need reads."},"max":{"anyOf":[{"type":"number"},{"type":"string","maxLength":40}],"description":"Inclusive upper bound, same comparison rules as min."},"min":{"anyOf":[{"type":"number"},{"type":"string","maxLength":40}],"description":"Inclusive lower bound. Numbers compare numerically; two dotted-digit strings (1.10.2) compare segment by segment."},"oneOf":{"type":"array","items":{"description":"Allowed JSON value."},"maxItems":50,"description":"The evidence value must equal one of these."},"equals":{"description":"The evidence value must equal this JSON value (deep equality)."},"maxAgeDays":{"type":"number","maximum":36500,"minimum":0,"description":"Evidence must be dated (asOf on the evidence item) and at most this many days before the request asOf."}},"additionalProperties":false},"maxItems":100,"minItems":1,"description":"Evidence every proof must contain (key plus optional bounds)."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VM3tTnBCLwwrINJUhh4cb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a set of proof-of-delivery evidence items (signature, photo, GPS fix, timestamp, etc.) satisfies a caller-defined requirement list including mandatory fields, optional groups, value bounds, and maximum age constraints.","exampleAgentPrompt":"I have a delivery dispute to resolve — can you check whether this POD evidence (a recipient signature captured at 2024-06-10T14:22:00Z, a delivery photo, and a GPS fix accurate to 25 m) satisfies our contract requirements that mandate a signature and at least one of photo or GPS fix with accuracy at most 30 m, all collected within the last 7 days as of 2024-06-10?","exampleUseCases":[{"title":"Payment release gate for e-commerce","prompt":"Before we release payment to the courier, check if our POD evidence — a recipient name, a scan timestamp from 2024-06-12T09:00:00Z, and a delivery photo — satisfies the contract requirement of a mandatory recipient name, mandatory scan, and at least one of photo or signature, all evidence no older than 5 days as of 2024-06-14."},{"title":"Delivery dispute evidence audit","prompt":"We're assembling a dispute claim and need to know which required proof items are missing or out of bounds — our evidence includes a GPS fix with accuracy 45 m and a timestamp, but the carrier contract requires GPS accuracy at most 30 m and a recipient signature; reference date is 2024-06-15."},{"title":"Automated carrier compliance check","prompt":"Can you verify whether the POD bundle for shipment #8821 meets our carrier's requirements? We have a photo, a recipient name, and a GPS coordinate collected on 2024-06-08; requirements are mandatory photo and GPS (accuracy at most 50 m), plus at least one of signature or recipient name, with max evidence age of 10 days as of 2024-06-15."}],"resultDescription":"Returns a structured breakdown of each required evidence key and anyOf group, indicating whether each item is present, missing, or out of bounds (e.g. value exceeds max or falls below min, or evidence is older than maxAgeDays). Does not authenticate the genuineness of signatures or photos; absent evidence is classified as unknown rather than failed.","failureModes":["Missing required 'asOf' field when a need specifies maxAgeDays — age check cannot proceed","Evidence key not found in the evidence array — classified as unknown/missing, not pass","Evidence value outside specified min/max bounds — classified as out-of-bounds","anyOf group has fewer present items than the atLeast threshold — group fails","Malformed ISO date strings in evidence or asOf fields — validation error","Evidence array exceeds 500 items or anyOf groups exceed 20 — schema rejection","Required array exceeds allowed item limits — schema rejection"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically assess whether a set of proof-of-delivery evidence meets a specific, structured requirement list before triggering a payment release, filing a dispute, or logging a compliance decision. Prefer this over manual checks or general-purpose LLM reasoning when requirement lists include value bounds, group alternatives (at-least-k logic), or age constraints that must be applied consistently and auditably. It does not authenticate evidence content, so pair it with a signature or photo verification service when authenticity matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:41:24.430Z","isFirstParty":false,"canonicalSlug":"writerslogic-pod-sufficiency-checker-7fa54ce1"}