{"slug":"agents-204-168-199-108-sslip-io-v1-util-sql-format-2405e0","title":"Pretty-print SQL so humans and agents can read and diff it","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/sql-format","category":"other","description":"Pretty-print SQL so humans and agents can read and diff it: each clause on its own line (WITH, SELECT, FROM, JOINs, WHERE, GROUP BY, ORDER BY, LIMIT, UNION, INSERT/VALUES, UPDATE/SET, RETURNING, ON CONFLICT), select lists and AND/OR conditions indented, CTEs and subqueries nested, keywords upper- or","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checked_on":"2026-12-02","checks_7d":1,"answered_7d":1,"latency_ms_median":964,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:137","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"sql_b64":"d2l0aCByZWNlbnQgYXMgKHNlbGVjdCB1c2VyX2lkLCBjb3VudCgqKSBuIGZyb20gb3JkZXJzIG8gd2hlcmUgby5jcmVhdGVkX2F0ID4gbm93KCkgLSBpbnRlcnZhbCAnMzAgZGF5cycgYW5kIG8uc3RhdHVzIGluICgncGFpZCcsJ3NoaXBwZWQnKSBncm91cCBieSB1c2VyX2lkKSBzZWxlY3QgdS5pZCwgdS5lbWFpbCwgY29hbGVzY2Uoci5uLDApIGFzIG9yZGVycyBmcm9tIHVzZXJzIHUgbGVmdCBqb2luIHJlY2VudCByIG9uIHIudXNlcl9pZCA9IHUuaWQgd2hlcmUgdS5hY3RpdmUgPSB0cnVlIGFuZCAodS5wbGFuID0gJ3Bybycgb3IgdS5wbGFuID0gJ3RlYW0nKSBvcmRlciBieSBvcmRlcnMgZGVzYyBsaW1pdCAxMA==","uppercase":"true"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"indent":{"description":"Spaces per indent level (default 2)","type":"string"},"sql":{"description":"SQL text","type":"string"},"sql_b64":{"description":"Same, base64-encoded (alternative)","type":"string"},"uppercase":{"description":"Upper-case keywords (default true)","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":964,"error":null}],"description_full":"Pretty-print SQL so humans and agents can read and diff it: each clause on its own line (WITH, SELECT, FROM, JOINs, WHERE, GROUP BY, ORDER BY, LIMIT, UNION, INSERT/VALUES, UPDATE/SET, RETURNING, ON CONFLICT), select lists and AND/OR conditions indented, CTEs and subqueries nested, keywords upper- or lower-case. Also returns a one-line minified version (comments removed) and the statement count. Keeps strings, quoted identifiers, dollar-quoting, Postgres operators (::, ->>, #>","last_updated":"2026-12-01T11:07:49.172Z","schemes":["exact"]}