Convert natural language to SQL
POST /v1/requests/{id}/nl-to-sql
POST
/v1/requests/{id}/nl-to-sql
Generates SQL for a request scope using the configured AI pipeline
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request ID
Request Body
Section titled “Request Body ”Natural language query
object
query
required
string
Responses
Section titled “ Responses ”OK
object
sql
string
success
boolean
Bad Request
object
error
string
message
string
Example
Success success
boolean
Example
trueUnauthorized
object
error
string
message
string
Example
Success success
boolean
Example
trueNot Found
object
error
string
message
string
Example
Success success
boolean
Example
trueInternal Server Error
object
error
string
message
string
Example
Success success
boolean
Example
trueService Unavailable
object
error
string
message
string
Example
Success success
boolean
Example
true