Skip to content
Free static example · no wallet required

SQL change review

Inspect the exact response envelope first. When you need current analysis for your own input, one successful x402 call costs $0.05 USDC on Base or Solana.

No accountNo subscriptionExact USDC priceFresh calls only are paid
Full response envelope

What you receive

Demonstration data only. The paid endpoint returns a fresh result and settlement receipt.

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "developer.sql-change-review",
  "version": "1",
  "data": {
    "documentSha256": "3e31b98c852573137d17dcb062b2a1571d63052f71abeeb8b62296f3d1066af4",
    "dialect": "postgres",
    "valid": true,
    "reviewDecision": "clear",
    "attentionScore": 0,
    "attentionLevel": "clear",
    "statementCount": 1,
    "summary": {
      "readStatements": 0,
      "dataChangeStatements": 0,
      "schemaChangeStatements": 1,
      "transactionStatements": 0,
      "otherStatements": 0,
      "unfilteredDataChanges": 0,
      "destructiveChanges": 0,
      "referencedTables": [
        "accounts"
      ],
      "targetObjects": [
        "accounts"
      ]
    },
    "statements": [
      {
        "index": 1,
        "operation": "CREATE",
        "category": "schema-change",
        "readOnly": false,
        "targetObjects": [
          "accounts"
        ],
        "referencedTables": [
          "accounts"
        ],
        "sourceTables": [],
        "hasWhere": false,
        "hasLimit": false,
        "parameterCount": 0,
        "normalizedPreview": "CREATE INDEX idx_accounts_status ON accounts(status)",
        "statementSha256": "532fa1e226f9b47b8a611b319ac0ec776fd283523d5162d4b039e57726d5588a"
      }
    ],
    "findings": [],
    "parser": {
      "name": "SQLGlot",
      "version": "30.16.0",
      "license": "MIT"
    },
    "execution": {
      "databaseConnected": false,
      "sqlExecuted": false
    },
    "limitations": [
      "Static syntax review only; database schema, permissions, triggers, data volume, query plans, and runtime behavior are not inspected.",
      "A low attention score does not prove a change is correct or safe to deploy."
    ]
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": []
  }
}
Example request

Input JSON

{
  "sql": "CREATE INDEX idx_accounts_status ON accounts (status);",
  "dialect": "postgres"
}
Delivery contract

One paid POST

Statically parse caller-supplied SQL without a database connection or execution, inventory statements and tables, and flag destructive DDL, unfiltered writes, and migration atomicity concerns.

POST /v1/developer/sql-change-review

Inspect validation rules and output schema

Need current data?

Run this exact service.

The checkout verifies the request, selected network, USDC asset, recipient, and price before opening a wallet.

Continue · $0.05 USDC