Tables
Query
Description
This API provides a REST endpoint for executing the SQL queries. Note:
- This endpoint is a HTTP POST method.
- This endpoint accept data via
application/json
request body. - The only required key is the
query
which has the SQL statement value.
Body
query
string
requiredString that contains the SQL query that needs to be executed.
Response
column_names
array
requiredA list with the column names returned
context
object
requiredThe database where the query is executed
data
array
The actual data returned by the query in case of the table response type
type
string
The type of the response table | error | ok
Was this page helpful?