Api Endpoint

CommandGuard

Check agent-generated SQL before execution. Returns allow|warn|block with rule codes (DROP/TRUNCATE, DELETE/UPDATE without WHERE or tautology, privilege grants, COPY PROGRAM, file/network access, read_only and protected_tables policy). Caller must enforce. No price increase without 30 days' notice.

Open interactive test console

Offering

Provider
commandguard.grindfree.net
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://commandguard.grindfree.net/v1/sql
MIME type
Not provided
First seen
2026-11-13T17:02:17.561Z
Last seen
Tags
Security, Agents, shell, sql, guardrails

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xe4b5827994B7B3Cd38F9830d9ECF58b51B77721b"
  }
]

Observed health

Status
Healthy
Latest latency
122 ms
Average latency
196 ms
HTTP status
204
Last checked
Reachability
100% over 6 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "dialect": {
          "enum": [
            "postgres",
            "mysql",
            "mariadb",
            "sqlite",
            "mssql",
            "snowflake",
            "bigquery",
            "other"
          ],
          "type": "string"
        },
        "policy": {
          "description": "Optional owner policy",
          "properties": {
            "allow_rules": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "allow_write_tables": {
              "description": "If set, writes to other tables are blocked",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "mode": {
              "enum": [
                "balanced",
                "strict"
              ],
              "type": "string"
            },
            "protected_tables": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "read_only": {
              "description": "Block any write/DDL",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "sql": {
          "description": "One or more SQL statements",
          "maxLength": 50000,
          "type": "string"
        }
      },
      "required": [
        "sql"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}