Skip to main content

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​

SQL query executed successfully