cURL
curl --request POST \ --url https://api.prequel.co/import/datalakes/{id}/query \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "query": "SELECT * FROM provider_abc.users LIMIT 10" } '
{ "schema": [ { "name": "<string>", "type": "<string>" } ], "records": [ {} ] }
Executes a SQL query against the datalake and returns results.
SQL query to execute against the datalake.
"SELECT * FROM provider_abc.users LIMIT 10"
Success
Column names and types for the returned records.
Show child attributes