This API provides a REST endpoint for executing the SQL queries. Note:
application/json
request body.query
which has the SQL statement value.By default, the open source version doesn’t provide Authentication methods as MindsDB Cloud.
On MindsDB cloud you need to set the cookie
field in the header of request e.g {session=273trgsehgrui3i2riurwehe}
.
String that contains the SQL query that needs to be executed.
A list with the column names returned
The database where the query is executed
The actual data returned by the query in case of the table response type
The type of the response table | error | ok