Pipeline Lifecycle
Validate Program
Required role: write or higher.
Validate a SQL program by compiling it, without creating a pipeline or building the pipeline binary. Reports SQL errors and warnings and the derived schema and connectors. Set ir to also return the program IR (dataflow).
Note that this endpoint returns HTTP 200, regardless of whether validation succeeds or fails. The validation result, including any compiler warnings and errors, is encoded in the ValidateProgramResponse response body.
post/v0/validate_program
Request
- The document declares no server URL.
- Auth: HTTP bearer
Request body
Response
Validation completed; the body reports success, SQL errors, or a system error
Changes
No recorded changes to this operation across all 51 revisions of this API.