v11

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-051387180.3 KB
compiler

Validate schema file set

Validate a schema file set against a connection.

Checks all views, queries, and related schemas for correctness and returns any errors or warnings found.

RLS: Filtered to current client (ClientRLSDB).

post/api/v1/compiler/validate

Query parameters

sourcestring nullable

Headers

X-Kater-CLI-IDstring nullable

Request body

auto_fixboolean

Automatically fix broken refs caused by renames. Defaults to True.

connection_idsstring[] nullable

Optional connection IDs to validate. If omitted, validates all connections.

Response

Successful Response

request_idstring nullable

Write-back request ID. Non-null when files were dispatched to CLI via WebSocket.

successboolean required

Whether validation passed without errors