Execute SQL queries against the oleander lake using DuckDB. All queries automatically capture lineage metadata for complete observability. This endpoint is only available on the Pro plan.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The SQL query to execute. Supports all DuckDB SQL syntax.
"WITH\n src AS (\n SELECT\n *\n FROM\n read_json (\n 'https://api.tvmaze.com/search/shows?q=breaking+bad',\n auto_detect = TRUE\n )\n )\nSELECT\n src -> 'show' ->> 'name' AS show_name,\n src -> 'show' ->> 'premiered' AS premiered,\n src -> 'show' -> 'rating' ->> 'average' AS rating,\n src -> 'show' -> 'network' ->> 'name' AS network_name\nFROM\n src;"
Automatically save query results to a table based on the query hash. If a table with the same hash exists, returns cached results instead of re-executing.
Query executed successfully
Whether the query executed successfully
Query results with columns, column types, and rows
Number of rows returned
Query execution time (e.g., '991ms')
The original SQL query that was executed
Lineage job information
Query execution plan explanation