{"slug":"api-agentstools-dev-sql-check-7c0c91","title":"Safety and performance preflight for a database query BEFORE you run it","host":"api.agentstools.dev","method":"POST","resource":"https://api.agentstools.dev/sql/check","category":"other","description":"Safety and performance preflight for a database query BEFORE you run it. Send the query for Postgres, MySQL or SQLite and get a pass, caution or block verdict with per-finding operation, severity, plain-language reason and a fix. Query-safety indicators, not a guarantee.","price_listed":0.02,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"dialect":"postgres","sql":"SELECT id, name FROM users WHERE id = 1"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"dialect":{"description":"Database dialect (default postgres)","enum":["postgres","mysql","sqlite","bigquery","snowflake"],"type":"string"},"options":{"description":"Optional hints, e.g. indexed_columns: list of column names to refine performance findings","type":"object"},"sql":{"description":"The query text to check","type":"string"}},"required":["sql"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"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"},"history":[],"description_full":"Safety and performance preflight for a database query BEFORE you run it. Send the query for Postgres, MySQL or SQLite and get a pass, caution or block verdict with per-finding operation, severity, plain-language reason and a fix. Query-safety indicators, not a guarantee.","last_updated":"2026-09-17T11:55:17.566Z","schemes":["exact"]}