Text to SQL
POST/v1/nsql
Generate and optionally execute an NSQL query.
This endpoint generates a SQL query using a natural language query (NSQL) and optionally executes it.
The SQL query is generated by the specified model and executed if the Accept
header is not set to application/sql
.
Request​
Responses​
- 200
- 400
- 500
SQL query executed successfully
Invalid request parameters
Internal server error