Check PostgreSQL SQL immediately before execution to prevent destructive or unsafe databas
Check PostgreSQL SQL immediately before execution to prevent destructive or unsafe database changes by AI agents and automated systems.
50000 (raw units)
price
4
calls / 30d
3
unique payers
2026-09-03
updated
Provider
api.vrsai.tech · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6746dFF7bDB1ED4940DBe50024795AD97CbA09Af",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "EiJRESZjUCUufSjSb5iDmikXXeKa3C1gQwYCZR4xFocj",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "50000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"context": {
"environment": "production",
"protected_relations": [
"customers"
]
},
"sql": "DELETE FROM customers;"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"checks": [
{
"id": "parse_validity",
"status": "PASS"
},
{
"evidence": {
"count": 1
},
"id": "statement_count",
"status": "PASS"
},
{
"id": "unbounded_delete",
"reason_code": "DELETE_WITHOUT_WHERE",
"statement_index": 0,
"status": "BLOCK"
},
{
"evidence": {
"relations": [
{
"name": "customers"
}
]
},
"id": "protected_relation_mutation",
"reason_code": "PROTECTED_RELATION_MUTATION",
"statement_index": 0,
"status": "BLOCK"
},
{
"id": "expected_statement_kind",
"statement_index": 0,
"status": "PASS"
}
],
"coverage": {
"assessment_scope": [
"unbounded_delete",
"unbounded_update",
"truncate",
"destructive_drop",
"destructive_cascade",
"alter_table_hazards",
"nonconcurrent_index",
"create_extension",
"protected_relation_mutation",
"dynamic_or_procedural_sql",
"expected_statement_kind",
"multi_statement_evaluation"
],
"checks_not_performed": [
"privilege_change",
"explicit_locking",
"alter_system",
"availability_maintenance",
"external_program_execution",
"drop_schema_or_database",
"read_cost_and_row_estimation",
"sensitive_data_access_and_exfiltration",
"tenant_isolation",
"semantic_correctness"
],
"checks_performed": [
"unbounded_delete",
"unbounded_update",
"truncate",
"destructive_drop",
"destructive_cascade",
"alter_table_hazards",
"nonconcurrent_index",
"create_extension",
"protected_relation_mutation",
"dynamic_or_procedural_sql",
"expected_statement_kind",
"multi_statement_evaluation"
],
"complete_for_declared_scope": true,
"dialect": "postgresql"
},
"decision": "BLOCK",
"input_fingerprint": "v1:4634deedb0970b042098df09e6f8bf365f2ddb635a18742c5ffa676844e4fa62",
"machine_action": "DO_NOT_EXECUTE",
"reason_codes": [
"DELETE_WITHOUT_WHERE",
"PROTECTED_RELATION_MUTATION"
],
"ruleset_version": "1.0.0",
"statement_count": 1,
"statements": [
{
"administrative": false,
"changes_privileges": false,
"changes_schema": false,
"decision": "BLOCK",
"index": 0,
"kind": "DELETE",
"mutates_data": true,
"reason_codes": [
"DELETE_WITHOUT_WHERE",
"PROTECTED_RELATION_MUTATION"
],
"relations": [
{
"name": "customers"
}
]
}
]
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"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": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "jws",
"signature": "eyJhbGciOiJFUzI1NiIsImtpZCI6ImRpZDp3ZWI6dnJzYWkudGVjaCNwcm9kdWN0aW9uLTIwMjYtMDgtMTkifQ.eyJhbW91bnQiOiI1MDAwMCIsImF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ft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.vrsai.tech/v1/capabilities/sql_preflight" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.vrsai.tech/v1/capabilities/sql_preflight");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.vrsai.tech/v1/capabilities/sql_preflight")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7288.json, and this resource appears in /discovery/resources and /discovery/search.