{"uid":"cap_ppYaWxqPLoexqhEZqP0wl","slug":"purchase-intent-and-delegation-record-schema-cd89a013","name":"Purchase Intent and Delegation Record Schema","description":"A decision procedure and JSON schema for capturing, at checkout time, the agent-side record of delegated purchase intent: who authorized the spend, which stored policy authorized it, the intended deliverable, the price ceiling, the counterparty commitment, and the recovery path. Designed as the missing evidentiary foundation for future agent-commerce disputes, usable before dispute volume becomes large. Includes required inputs, acceptance thresholds, standard disagreement errors, and failure","url":"https://k2so-8080.on.ascii.dev/api/services/agent-purchase-intent-delegation-record-schema?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":"Purchase intent and delegation record schema 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":null,"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_zEmnD-Ue-2UP-QAuC5dRj","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 decision procedure and JSON schema for capturing agent-side delegated purchase intent records at checkout time, covering authorization, policy, price ceiling, counterparty commitment, and recovery path.","exampleAgentPrompt":"Give me the standard schema and decision procedure for recording a delegated purchase intent at checkout — I need to capture who authorized the spend, which policy covered it, the price ceiling, and what the recovery path is if something goes wrong.","exampleUseCases":[{"title":"Pre-checkout authorization logging","prompt":"Before my agent completes this purchase, pull the delegation record schema so I can log who authorized it, which stored policy applies, and what the price ceiling is — I want a proper evidentiary record in case there's a dispute later."},{"title":"Agent commerce dispute preparation","prompt":"I need the decision procedure for structuring agent-side purchase intent records — specifically the fields for counterparty commitment and recovery path — so my agent can start generating proper documentation before dispute volume grows."},{"title":"Policy-linked spend documentation","prompt":"Get me the purchase intent delegation schema so I can record exactly which policy authorized my agent's spend on this transaction, including the intended deliverable and the authorization chain."}],"resultDescription":"Returns a JSON object containing a decision procedure brief (prose guidance for agents on how to capture delegation records), the schema for the delegation record itself, a service slug, generation source indicator (llm, reasoning, or deterministic), and an ISO-8601 timestamp of when the procedure was generated.","failureModes":["Payment not provided — returns 402 requiring USDC payment via x402 protocol","Invalid query parameter values — returns validation error if unsupported enum values passed","Service temporarily unavailable — upstream generation failure returns ok:false with error detail","Malformed request — missing required input fields returns schema validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a standardized, structured record of delegated purchase intent at checkout time — particularly when building audit trails, preparing for potential commerce disputes, or ensuring that authorization provenance (who approved the spend, under which policy, with what ceiling) is formally documented. Prefer this over ad-hoc logging when operating in x402 or multi-party payment environments where evidentiary records may later be required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:43:49.923Z","isFirstParty":false,"canonicalSlug":"purchase-intent-and-delegation-record-schema-cd89a013"}