{"uid":"cap_vCNUP4ukKbNjWCNC99Tkv","slug":"sqlguard-mandate-bind-8556681c","name":"SQLGuard Mandate Bind","description":"Mandate Bind (ABMP BIND) — Exact USDC once; returns Ed25519 PASS cert whose mandate_hash binds the human Intent Mandate to this SQL. Portable check: free POST /v1/gate.","url":"https://sqlguard.io/v1/bind?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"],"type":"string"},"queryParams":{"type":"object","properties":{"agent_id":{"type":"string","description":"Agent or wallet id for the bind receipt"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3CY2bKaUcmay_fSxax8lA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hashes an AP2-style Intent Mandate into an Ed25519 Execution Certificate, binding an agent or wallet identity prior to authorized SQL operations.","exampleAgentPrompt":"Bind my agent ID 'agent-wallet-abc123' to a SQLGuard Execution Certificate so I can authorize SQL mutations in the next step.","exampleUseCases":[{"title":"Authorize agent before SQL mutation","prompt":"I need to bind my agent ID 'wlt-7f3d29' to a SQLGuard Execution Certificate before I POST to the gate endpoint to run a mutating SQL job — can you get me that bind receipt?"},{"title":"Workday POST pipeline pre-authorization","prompt":"Before my agent submits a Workday POST SQL job, bind wallet ID 'agt-workday-001' to the SQLGuard mandate so we have a valid Ed25519 certificate ready."},{"title":"Programmatic SQL access credential setup","prompt":"Set up a SQLGuard mandate binding for my agent 'agt-prod-55' so it has a signed execution certificate it can use each time it needs to run an authorized SQL operation."}],"resultDescription":"Returns a bind receipt containing an Ed25519 Execution Certificate that encodes the hashed AP2-style Intent Mandate for the given agent or wallet ID. This certificate must be presented when calling POST /v1/gate to authorize subsequent SQL execution.","failureModes":["Missing or invalid agent_id returns an error or empty receipt","Payment not fulfilled (x402) results in a 402 Payment Required response","Malformed agent_id format may cause binding rejection","Duplicate bind attempts for the same agent_id may return a conflict or a fresh certificate depending on implementation","Network timeout may leave binding state ambiguous"],"whenToPreferThis":"Use this endpoint when your agent needs to perform authorized, mutating SQL operations via SQLGuard and must first obtain a cryptographically signed Ed25519 Execution Certificate. This is the required first step before calling POST /v1/gate. Choose this over SQLGuard Instant Cert when you need a reusable mandate binding rather than a single one-time SQL pass, or when your workflow requires AP2-style intent mandate hashing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:32:29.968Z","isFirstParty":false,"canonicalSlug":"sqlguard-mandate-bind-8556681c"}