the402 endpoint detail

← All endpoints

sqlpermit.schemasure.com guard sql

https://sqlpermit.schemasure.com/v1/guard/sql

answers 402

Decide whether an agent-authored PostgreSQL statement complies with an execution policy, using PostgreSQL's own parser rather than pattern matching. Detects statement stacking, data-modifying CTEs, COPY PROGRAM, privilege changes, and dangerous functions that read as ordinary SELECTs. Returns reason codes and an optional short-lived signed permit bound to the exact normalized statement. Never conn

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0x9876af0F6D8Ed5155Cd02d1ca56D128601612690
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
184 ms
Payment options
1 usable of 1
Last checked
2026-08-15T14:23:25.055Z (18h ago)
Category
identity

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fsqlpermit.schemasure.com%2Fv1%2Fguard%2Fsql"