SQL Review API
The SQL Review API provides SQL checks based on your schema review policy.
Batch API (recommended)
Batch API allows you to validate multiple statements across multiple databases in a single API call.
You should use batch API for the GitOps workflow. Because a single PR or MR may contain multiple dependent
migration files (e.g., 1_create_t1_table.sql
, 2_create_t1_index.sql
). By retaining the context from
earlier files, the Batch API ensures each subsequent file is validated accurately.
Simple API
Simple API allows you to validate a single statement against a single database.