sqlguard-io Execution Certificate API

The Execution Certificate API from sqlguard-io — 3 operation(s) for execution certificate.

Operations 3

POST /v1/validate SQLGuard validate — authorize mutating SQL, issue Ed25519 Execution Certificate #
POST /v1/verify SQLGuard verify — confirm Execution Certificate before production SQL write #
POST /v1/execute Cert-gated Postgres write (optional; fail-closed unless… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sqlguard-io:sqlguard-io-execution-certificate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sqlguard-io-execution-certificate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SQLGuard — permission before production writes Execution…
  version: 1.1.76
  description: 'AI agents need permission before they modify production data. Authorization Receipt + Gateway (invoice primary $299/mo). Wealth Exact: Pilot Challenge POST /v1/challenge → unlock POST /v1/challenge/unlock ($100.00, amount 100000000) or Gateway Pilot POST /v1/gateway/pilot. Burn /v1/session/cert → verify → execute. Session/Workday/micro OFF TABLE as wealth primary. Keywords: MCP postgres write safety, AI database authorization, Authorization Receipt, Pilot Challenge. Lint ≠ authorize. Aka: Execution Certificate Firewall.'
  termsOfService: https://sqlguard.io/terms
  contact:
    name: SQLGuard Inc / DoggyBagg
    url: https://sqlguard.io/legal
    email: hello@sqlguard.io
  x-sqlguard:
    sell: AI agents need permission before they modify production data
    aka: Execution Certificate Firewall
    primary_invoice: $299
    proof_sku: pilot_challenge
    mission: 3_paying_companies
  x-legal:
    terms: https://sqlguard.io/terms
    privacy: https://sqlguard.io/privacy
    aup: https://sqlguard.io/aup
    disclaimer: https://sqlguard.io/disclaimer
    refunds: https://sqlguard.io/refunds
    security: https://sqlguard.io/security
    dpa: https://sqlguard.io/dpa
  x-guidance: 'OPEN. Invoice Gateway $299/mo. Wealth Exact: POST /v1/challenge → unlock /v1/challenge/unlock $100.00 (amount 100000000). Alt: /v1/gateway/pilot. Session/Workday OFF TABLE as primary. Lint ≠ authorize.'
servers:
- url: https://sqlguard.io
tags:
- name: Execution Certificate
paths:
  /v1/validate:
    post:
      operationId: sqlguard_validate
      summary: SQLGuard validate — authorize mutating SQL, issue Ed25519 Execution Certificate
      description: 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.
      tags:
      - Execution Certificate
      security: []
      parameters:
      - name: X-SQLGuard-Agent
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - schema_ddl
              - sql
              properties:
                schema_ddl:
                  type: string
                  description: Current Postgres schema snapshot (CREATE TABLE …) for sandbox validate
                sql:
                  type: string
                  description: Exact mutating SQL the agent intends to run on production
                agent_id:
                  type: string
      responses:
        '200':
          description: PASS Execution Certificate + signature
        '402':
          description: Insufficient credits — buy a bundle or use POST /v1/cert
        '422':
          description: FAIL certificate — do not execute SQL
  /v1/verify:
    post:
      operationId: sqlguard_verify
      summary: SQLGuard verify — confirm Execution Certificate before production SQL write
      description: 'Final gate: verify Ed25519 signature of a PASS Execution Certificate against SQLGuard''s server public key. Returns badge_url + transparency link. Call after Instant Cert / Session / Bind / validate. Only if ok:true may the agent execute mutating SQL on production. UI: GET /verify.'
      tags:
      - Execution Certificate
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - certificate
              - signature
              properties:
                certificate:
                  type: object
                signature:
                  type: string
                public_key_pem:
                  type: string
                expected_schema_hash:
                  type: string
                expected_sql_hash:
                  type: string
      responses:
        '200':
          description: Valid PASS certificate — safe to execute SQL
        '403':
          description: Invalid / expired / FAIL — do not execute
  /v1/execute:
    post:
      operationId: sqlguard_execute
      summary: Cert-gated Postgres write (optional; fail-closed unless…
      description: 'When enabled: verify Ed25519 PASS cert, bind sql_hash+schema_hash, consume cert_id once, execute one statement. Public host defaults OFF — empty POST returns 503 EXECUTOR_DISABLED (check GET /health). See /EXECUTOR.md.'
      tags:
      - Execution Certificate
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - schema_ddl
              - sql
              - certificate
              - signature
              properties:
                schema_ddl:
                  type: string
                sql:
                  type: string
                certificate:
                  type: object
                signature:
                  type: string
                agent_id:
                  type: string
      responses:
        '200':
          description: Statement executed under verified cert
        '403':
          description: Verify/hash failure
        '409':
          description: Cert replay
        '503':
          description: Executor disabled or DB not configured
x-discovery:
  ownershipProofs:
  - '0xC8d524703f1751b565a220087D1d4c44a413C1D7'
  product: SQLGuard Gateway — Authorization Receipt
  open_for_business: true
  category: infrastructure
  tags:
  - sql
  - sql-validate
  - execution-certificate
  - pilot-challenge
  - gateway
  - database
  - mutating-sql
  - agents
  - x402
  - mcp
  - attestation
  - authorize
  - payment-authorization-layer
x-sqlguard:
  product: Execution Certificate Firewall
  attestation: Ed25519
  payments: Pilot Challenge unlock $100 (brand op sqlguard) + Gateway Pilot/invoice for companies; Workday/Session LEGACY; Instant Cert taste-only; prepaid secondary volume only
  discovery:
  - MCP
  - OpenAPI
  - x402 Bazaar
  - x402scan
  - /.well-known/x402
  - llms.txt
  - AGENTS.md
  - NEED.md
  - /need
  lead_agents_to_buy: true
  agents_need_us: true