polymarket.events to polymarket_events) before validation, so the explain output matches the actual execution environment.
Validation requests are capped at 60 per minute per authenticated user or API key.
Response fields
valid: Indicates whether the statement can execute successfullyerror: Contains the validation failure message ifvalidisfalseexplain: Raw ClickHouseEXPLAINoutput you can surface in toolingestimated_rows: Reserved for future row-count estimation
Example Response
Usage tips
- Call this endpoint from editors or CI pipelines before submitting expensive jobs.
- Use together with POST /api/query to show plan previews in your application.
- Handle
valid=falseresponses the same way you would handle a 400 error from the execution endpoint.