Text to SQL
Generate semantically correct SQL queries from text.
POST
/
v1
/
ai
/
sql
Body
The prompt that will be translated to an SQL query.
The database schema where the query will be run. Not required if
file_store_key
is specified.
The key used to store the database schema on Jigsawstack file
Storage. Not required if sql_schema
is
specified.
Either
file_store_key
or sql_schema
can be provided not both.Header
Your JigsawStack API key
Response
Indicates whether the call was successful.
Was this page helpful?