sqlguard-io Gateway API

The gateway API from sqlguard-io — 2 operation(s) for gateway.

Operations 3

POST /v1/gateway/decide Gateway decide — Authorization Receipt (ALLOW|DENY|REQUIRE_APPROVAL) #
GET /v1/gateway/decide Gateway decide discovery #
GET /v1/challenge Pilot Challenge machine card #

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-gateway-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-gateway-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SQLGuard — permission before production writes Gateway API
  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: Gateway
paths:
  /v1/gateway/decide:
    post:
      operationId: sqlguard_gateway_decide
      summary: Gateway decide — Authorization Receipt (ALLOW|DENY|REQUIRE_APPROVAL)
      description: Free CI/production change-control magnet. POST sql (+ optional agent_id, source). DENY mints signed denial_receipt with deny_id (source=ci from GitHub Action). Claim via POST /v1/denials/claim. Not a substitute for paid Workday/Session PASS + verify.
      tags:
      - Gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - sql
              properties:
                sql:
                  type: string
                  description: Mutating SQL to evaluate
                agent_id:
                  type: string
                  description: Agent or CI identity
                source:
                  type: string
                  enum:
                  - ci
                  - api
                  - mcp
                  description: Provenance — CI gates send source=ci
                purpose:
                  type: string
                scope:
                  type: string
            example:
              sql: DROP TABLE users;
              agent_id: github-actions
              source: ci
      responses:
        '200':
          description: ALLOW — optional next.verify/execute links
        '403':
          description: DENY — includes denial_receipt.deny_id + denial_exchange.claim (/v1/denials/claim)
        '409':
          description: REQUIRE_APPROVAL — human override or fail-closed
    get:
      operationId: sqlguard_gateway_decide_info
      summary: Gateway decide discovery
      tags:
      - Gateway
      security: []
      responses:
        '200':
          description: POST body schema + decisions
  /v1/challenge:
    get:
      operationId: sqlguard_challenge_meta
      summary: Pilot Challenge machine card
      tags:
      - Gateway
      security: []
      responses:
        '200':
          description: Flow + unlock amounts
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