{"uid":"cap_hN8YfF2zKPawqycgPZ0Wc","slug":"sqlguard-instant-cert-a4ce9010","name":"SQLGuard Instant Cert","description":"Instant Cert — LEGACY TASTE ONLY Exact $0.05 for ONE mutating SQL PASS/FAIL. OFF TABLE as wealth. Prefer Authorize mutating SQL before execute via Pilot Challenge unlock POST /v1/challenge/unlock $100 (amount 100000000) or Gateway invoice $299/mo. Not a production authorize path.","url":"https://sqlguard.io/v1/cert","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 certificate 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_JpXKXeDW2mC0LN7QGqT9M","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":"Issues a one-time Ed25519 execution certificate authorizing a single mutating SQL statement, paid per-use via USDC with no prepaid credits required.","exampleAgentPrompt":"Before I run that DELETE statement on the orders table, get me an instant SQLGuard execution certificate for my agent wallet — I need the Ed25519 PASS/FAIL cert so I can safely proceed to the production write.","exampleUseCases":[{"title":"Pre-authorize a destructive database cleanup","prompt":"I'm about to run a DELETE FROM sessions WHERE last_active < '2024-01-01' — get me a SQLGuard instant cert for agent wallet 0xabc123 so I have an Ed25519 authorization before I touch prod."},{"title":"Gating an automated ETL pipeline write","prompt":"My ETL job needs to INSERT a batch summary row into the reports table — can you fetch a SQLGuard execution certificate for agent ID etl-worker-7 before it commits anything to production?"},{"title":"Audit-safe schema migration approval","prompt":"We're about to run an ALTER TABLE to add a nullable column — get a SQLGuard instant cert for agent ID migration-bot so we have a signed PASS/FAIL on record before the migration executes."}],"resultDescription":"Returns an Ed25519-signed execution certificate with a PASS or FAIL result reflecting whether the requested mutating SQL statement passes sandbox safety policy. The certificate serves as a cryptographic authorization token that must be submitted via POST /v1/verify before a production database write is allowed to proceed. Each certificate is single-use and scoped to one SQL statement.","failureModes":["FAIL certificate issued if the SQL statement violates sandbox policy — the write must not proceed","Payment not accepted or USDC transfer fails — certificate not issued","Invalid or missing agent_id — certificate cannot be tied to a receipt","Rate limiting or service unavailability — endpoint returns error with no cert","Expired or already-used certificate when later submitted to /v1/verify"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use SQL authorization gate with no subscription or prepaid credits — ideal for infrequent or audit-sensitive mutations where you want a cryptographic PASS/FAIL record. Prefer it over the SQLGuard prepaid-credits endpoint when you are running occasional one-off writes rather than high-volume operations. Use it when you need an Ed25519-signed certificate as an audit artifact before any destructive or mutating SQL is committed to production.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:33:43.908Z","isFirstParty":false}