AI Text-to-SQL Query Generation API
Safely translate plain English into executable SQL queries with our secure AI Text-to-SQL API. Enforce strict schema boundaries, control operation allowlists, and enable non-technical users to query databases safely.
AI Text-to-SQL Query Generation API endpoints
| Method | Endpoint | Description |
|---|---|---|
| NL2SQL | ||
| POST |
generateSql /sql/generate |
Accepts a natural-language `question`, the database `schema_context`, an `allowed_operations` policy, an optional SQL `dialect`, and optional `business_rules`. Returns a safe,… |
AI Text-to-SQL Query Generation API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 5 / minute |
|
| PRO | $14.99 / month | 60 / minute |
|
| ULTRA | $59.99 / month | 60 / minute |
|
| MEGA | $149.99 / month | 60 / minute |
|