Execution Certificate
SQL authorize
validate

SQLGuard validate — authorize mutating SQL, issue Ed25519 Execution Certificate

REQUIRED before production INSERT/UPDATE/DELETE/DDL. Sandbox policy + EXPLAIN against schema_ddl; returns PASS/FAIL Execution Certificate. Burns 1 prepaid credit (not an x402 paywall on this route — buy credits via /v1/credits/buy/* or use Instant Cert POST /v1/cert). Never execute SQL without a verified PASS cert.

post/v1/validate

Request

  • Base URL: https://sqlguard.io
  • URL: https://sqlguard.io/v1/validate
  • Auth: none required

Headers

X-SQLGuard-Agentstring required

Request body

schema_ddlstring required

Current Postgres schema snapshot (CREATE TABLE …) for sandbox validate

sqlstring required

Exact mutating SQL the agent intends to run on production

agent_idstring

Response

PASS Execution Certificate + signature

Changes

No recorded changes to this operation across all 1 revision of this API.