Executes a SQL query against the specified data source and returns the results.
This endpoint allows you to run ad-hoc SQL queries for data exploration, validation, or analysis. The query is executed using the data source’s native query runner with the appropriate credentials.
Streaming mode: Use query parameter ?stream=true or set X-Stream-Response: true header.
Streaming is only supported for certain data sources (e.g., Databricks).
When streaming, results are sent incrementally as valid JSON for memory efficiency.
Returns:
Use the 'Authorization' header with the format 'Key
Stream results as JSON