/query/sql
endpoint. This endpoint accepts a JSON body containing your SQL query.
The basic structure of the request involves:
/query/sql
sql
, whose value is your SQL query string.Content-Type
header to application/json
. If you are using StarTree Cloud, you will also need an Authorization
header with a Bearer token. StarTree Trial accounts require an additional database
header.<your url>
with your specific StarTree Cloud URL and <API Token>
with your generated token.
yourTableName
with the actual name of your table.