{"uid":"cap_JR2FRe70UW1KvgxiArJ79","slug":"writerslogic-document-supersession-checker-e6fedb35","name":"WritersLogic Document Supersession 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/document-supersession?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 date: a superseding document counts only if effective on or before it."},"target":{"type":"string","maxLength":200,"description":"Id of the document being relied on."},"documents":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":200,"description":"Document id."},"withdrawn":{"type":"boolean","description":"Withdrawn without replacement."},"supersedes":{"type":"array","items":{"type":"string","maxLength":200,"description":"Id this document replaces."},"maxItems":50},"effectiveDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2}))?$","maxLength":40}},"additionalProperties":false},"maxItems":200,"minItems":1,"description":"The documents the caller knows of, including the target."},"listComplete":{"type":"boolean","description":"The caller asserts documents holds every document that could supersede the target. Required for a pass."}}},"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_aJLKHTRAxH2QsL8I-f1J2","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":"Determines whether a target document is superseded or withdrawn as of a given reference date, by traversing the supersession chain within a caller-supplied document set.","exampleAgentPrompt":"Before we rely on ISO standard 'ISO-9001-2015' in our audit report, can you check whether it was superseded or withdrawn as of 2024-06-01, using this list of documents I know about: ISO-9001-2015 (effective 2015-09-15), ISO-9001-2015-AMD1 (effective 2024-03-01, supersedes ISO-9001-2015) — and I'm declaring this list complete?","exampleUseCases":[{"title":"Standards compliance check before audit","prompt":"We're about to cite 'NIST-SP-800-53-Rev4' in a security assessment dated 2023-12-31. Can you check if it was still current then or had been superseded? Here's the full list: NIST-SP-800-53-Rev4 (effective 2013-04-30), NIST-SP-800-53-Rev5 (effective 2020-09-23, supersedes NIST-SP-800-53-Rev4). The list is complete."},{"title":"Price list validity check for contract","prompt":"Before we sign a contract referencing supplier price list 'PL-2022-Q3', verify it was still valid as of 2023-01-15 and hadn't been replaced. Documents: PL-2022-Q3 (effective 2022-07-01), PL-2022-Q4 (effective 2022-10-01, supersedes PL-2022-Q3), PL-2023-Q1 (effective 2023-01-01, supersedes PL-2022-Q4). List is complete."},{"title":"Withdrawn procedure check for safety review","prompt":"We need to confirm procedure 'PROC-MAINT-007' was still active on 2022-06-30 before we reference it in a safety investigation. Documents supplied: PROC-MAINT-007 (effective 2019-01-01, withdrawn: true), PROC-MAINT-008 (effective 2021-03-15, supersedes PROC-MAINT-007). The list is complete."}],"resultDescription":"Returns whether the target document is superseded, withdrawn, or current as of the reference date; names the superseding document and its effective date if applicable; indicates whether the answer is definitive (listComplete was asserted) or unknown due to incomplete document set.","failureModes":["Target document ID not found in the supplied document list","listComplete not set to true, resulting in an 'unknown' rather than 'current' verdict","Circular supersession chains causing unresolvable traversal","Malformed date formats rejected by pattern validation","Document list exceeds 200-item limit","Missing required fields such as target or asOf","Supersession chain references a document ID not present in the supplied list"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify whether a specific document version (standard, policy, price list, datasheet, procedure) is still valid as of a known date, without fetching or comparing document content. It is ideal when the agent already has or can enumerate the relevant document metadata and needs a deterministic, auditable supersession decision. Prefer this over text-comparison approaches when version tracking is based on explicit supersession declarations rather than content similarity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:41:48.638Z","isFirstParty":false,"canonicalSlug":"writerslogic-document-supersession-checker-e6fedb35"}