{"uid":"cap_rJroQ5mh63efYf0nANZ8X","slug":"delta-witness-guarded-action-pilot-e7833b0d","name":"DELTA Witness — Guarded Action Pilot","description":"Paid, machine-verifiable capture and preflight checks for public web sources.","url":"https://delta-witness-api.ruphussten.workers.dev/v1/guarded-action-pilot","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string","pattern":"^https://","description":"Public HTTPS webpage to witness."},"maxItems":3,"minItems":1},"preflight":{"type":"object","required":["url_index","expected"],"properties":{"expected":{"type":"object","properties":{"contains":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":10},"excludes":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":10},"html_sha256":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"markdown_sha256":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"}},"additionalProperties":false},"url_index":{"type":"integer","maximum":2,"minimum":0}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"ok":true,"proofs":[{"url":"https://example.com/","proof_id":"7d9d12f7-8f91-5f41-9f0c-5ef257d9ea5d","bundle_root":"sha256:0000000000000000000000000000000000000000000000000000000000000000","observed_at":"2026-09-07T00:00:00.000Z","manifest_url":"https://delta-witness-api.ruphussten.workers.dev/v1/proofs/7d9d12f7-8f91-5f41-9f0c-5ef257d9ea5d","public_proof_url":"https://delta-witness-api.ruphussten.workers.dev/p/7d9d12f7-8f91-5f41-9f0c-5ef257d9ea5d","allocated_price_usd":10}],"product":"guarded_action_pilot","economics":{"variable_cost_usd":0.004,"contribution_margin_usd":9.996},"price_usd":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","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":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-nf2zc6VVD9_ypA2g4_QZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and cryptographically captures up to 3 public web pages, then runs preflight content checks (contains/excludes/hash assertions) before an autonomous agent takes action based on those sources.","exampleAgentPrompt":"Before you post that trade, witness the page at https://example.com/price-feed and verify it contains the text '42,000' and doesn't contain 'maintenance mode' — give me a tamper-proof proof bundle I can reference later.","exampleUseCases":[{"title":"Pre-action price feed verification","prompt":"Before my agent executes a purchase, witness https://exchange.example.com/btc-price and confirm it contains 'BTC: $' and doesn't say 'market closed' — I need a cryptographic proof bundle for audit."},{"title":"Content integrity check for news source","prompt":"Capture https://news.example.com/policy-update right now and verify it contains the phrase 'effective immediately' — I want a permanent, machine-verifiable proof that the page said that at this moment."},{"title":"Automated contract trigger verification","prompt":"Before my agent signs the smart contract, witness https://legal.example.com/terms-v3 and check that the sha256 hash of the markdown matches sha256:a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2 — return a proof ID I can attach to the transaction record."}],"resultDescription":"A JSON object containing an 'ok' boolean, an array of proof objects (each with proof_id, bundle_root SHA-256, observed_at timestamp, manifest_url, and public_proof_url), the product name, economics breakdown (variable cost and contribution margin), and total price in USD. The proof artifacts are retrievable via manifest_url for post-hoc verification.","failureModes":["Preflight assertion fails (contains/excludes/hash mismatch) — request is rejected before proof is issued","Target URL is not reachable or returns non-200 status — capture fails","URL does not match ^https:// pattern — schema validation error","More than 3 URLs submitted — rejected by minItems/maxItems constraint","url_index out of range (>2) — preflight schema error","Payment of $10 USDC not provided — 402 Payment Required response","SHA-256 hash format invalid — schema validation error"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs tamper-evident, machine-verifiable proof that a public webpage contained (or excluded) specific content at a precise moment before taking an irreversible action. It is especially valuable for agentic workflows where audit trails are required, where content freshness must be guaranteed, or where downstream decisions depend on verifiable web source state. Prefer this over simple HTTP fetches when accountability, reproducibility, or legal/compliance traceability of web sources matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:12.575Z","isFirstParty":false}