{"uid":"cap_nYcc_arafMb-mUdzGPMKc","slug":"agent-embassy-document-certification-16a96556","name":"Agent Embassy Document Certification","description":"Agents pay for work and prove what happened.","url":"https://aemb.pro/v1/cert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"document_hash":{"type":"string","description":"SHA256 hash of your document as 64 lowercase hex characters. We never see the document itself."},"document_name":{"type":"string","description":"Optional label for your document (max 200 chars), recorded on the receipt"},"idempotency_key":{"type":"string","description":"Idempotency key: UUID v4, client-generated, one per logical request. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt."}}},"responseSchema":{"type":"json","example":{"tool":"cert","chain":["request","authorization","action","proof","liability_boundary"],"status":"certified","account":"0x1111111111111111111111111111111111111111","receipt_id":"emb_9f8e7d6c5b4a","receipt_version":"embassy-receipt/2"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2mqxVHOE7jQi-N8ygAQ03","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Certifies a document hash on-chain with a cryptographic receipt, proving an agent performed an action at a specific time without revealing document contents.","exampleAgentPrompt":"Certify this document hash for me — SHA256 is `a3f1b2c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5e6f7a8b9c0d1e2`, label it 'Q2 financial report', and use idempotency key `550e8400-e29b-41d4-a716-446655440000` so I get a verifiable receipt proving it existed right now.","exampleUseCases":[{"title":"Audit trail for automated agent decisions","prompt":"My agent just finalized a contract draft — certify the SHA256 hash `b4e2a1f3c6d7e8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6f7a8b9c0d1e2f3`, label it 'Service Agreement v3', with idempotency key `f47ac10b-58cc-4372-a567-0e02b2c3d479` so I have proof of exactly what was agreed to."},{"title":"Compliance timestamping for regulated documents","prompt":"I need a tamper-proof certification receipt for a compliance report — hash is `c5f3b2e1d4a6f7e8b9a0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2`, call it 'GDPR Audit Report 2024', idempotency key `6ba7b810-9dad-11d1-80b4-00c04fd430c8`."},{"title":"Proving AI-generated content provenance","prompt":"Certify the hash of this AI-generated image I just created — `d6e4c3f2b5a7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3` — label it 'AI artwork batch 42', and use idempotency key `7c9e7d6c-5b4a-3f2e-1d0c-9b8a7f6e5d4c` so I can prove I owned it at this timestamp."}],"resultDescription":"Returns a JSON receipt containing: a unique receipt ID (e.g. `emb_9f8e7d6c5b4a`), certification status (`certified`), the payer's account address, receipt version (`embassy-receipt/2`), and a chain-of-custody array documenting the full lifecycle — request, authorization, action, proof, and liability boundary — providing cryptographic proof that the document hash was recorded at a specific point in time.","failureModes":["Invalid SHA256 hash (not 64 lowercase hex chars) — rejected with validation error","Idempotency key reuse with published/known example key — rejected as invalid","Duplicate idempotency key returns original receipt unchanged, not an error","Payment failure via x402 protocol — 402 response, no receipt issued","Document name exceeding 200 characters — validation error","Malformed UUID v4 idempotency key — rejected"],"whenToPreferThis":"Choose this endpoint when an AI agent needs cryptographic proof that a specific document or artifact existed and was certified at a precise point in time — without revealing the document itself. Ideal for audit trails, compliance workflows, agent accountability, and provenance tracking where privacy matters. The idempotency mechanism makes it safe to replay in unreliable networks. Prefer over generic blockchain notarization when you need a structured receipt with chain-of-custody metadata and x402 micropayment-native billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:39:17.306Z","isFirstParty":false,"canonicalSlug":"agent-embassy-document-certification-16a96556"}