# Validate Question Sql

```
POST 
/v1/questions/validate-sql
```

Probe candidate SQL → output `{columns}` (422 with the DuckDB error on failure). Used by the editor before saving a question.

## Request[​](#request "Enlace directo al request")

## Responses[​](#responses "Enlace directo al Responses")

* 200
* 404
* 422

Successful Response

Not found

Validation Error
