{"uid":"cap_p9d6XuSoz4Eb1S8nDHabf","slug":"pre-settlement-contract-term-vetting-decision-procedure-1cef764a","name":"Pre-Settlement Contract Term Vetting Decision Procedure","description":"Deterministic decision procedure for an agent about to settle a service contract: detect subjective or ambiguous acceptance language (as agreed, satisfactory, best effort, complete) before approving final payment. Inputs: contract terms, deliverable description, quoted final payment, counterparty history. Checks: flag every subjective acceptance phrase, require an objective, verifiable acceptance test per deliverable, bind the payment trigger to a passing test rather than an invoice or elapsed","url":"https://k2so.wrong.systems/api/services/agent-facing-pre-settlement-contract-term-vettin?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"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Pre-settlement contract term vetting decision procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-facing-pre-settlement-contract-term-vettin","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-facing-pre-settlement-contract-term-vettin","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4nqEvTOrvK3ln5_9wOK4j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paid AI-generated decision procedure (plain prose brief) for vetting contract terms before settlement, tailored for autonomous agents operating in x402 payment contexts","exampleAgentPrompt":"Run me through the pre-settlement contract term vetting decision procedure — I need a plain-language brief I can use to evaluate whether the contract terms on this deal are safe to settle.","exampleUseCases":[{"title":"Agent-to-agent service contract review","prompt":"Before my agent finalizes this x402 service agreement, walk it through the pre-settlement contract term vetting procedure so I know what clauses to flag or accept."},{"title":"On-chain smart contract term audit","prompt":"I'm about to settle a smart contract on Base — can you run the pre-settlement contract vetting decision procedure and give me a plain-prose brief on what to watch out for?"},{"title":"Merchant onboarding contract screening","prompt":"My autonomous merchant agent is reviewing a new supplier contract before settlement — run it through the pre-settlement contract term vetting procedure and summarize the key decision steps."}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) for pre-settlement contract term vetting, including the model used, generation timestamp, generation source (llm/reasoning/deterministic), the topic, and service slug. The 'brief' and 'procedure' fields carry the actionable guidance text.","failureModes":["HTTP 402 returned if payment has not been settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Missing or malformed 'input' object returns a validation error","Invalid method (POST, PUT, PATCH) rejected — only GET/HEAD/DELETE accepted","If topic override is malformed or too long, the service may fall back to default topic","Occasional LLM generation failures may result in ok:false with an error detail field"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a structured, prose-form decision procedure for vetting contract terms before any settlement action — especially in x402 or on-chain contexts where no human lawyer is in the loop. It is preferable to generic legal APIs because it is purpose-built for agent-to-agent and agent-to-merchant contract scenarios, returns a ready-to-act brief rather than raw legal text, and integrates natively with x402 micropayment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:40:39.851Z","isFirstParty":false,"canonicalSlug":"pre-settlement-contract-term-vetting-decision-procedure-1cef764a"}