| Execute SQL | POST /v1/sql/execute | Executes arbitrary SQL queries directly. Returns an execution_id to track the query execution. |
| Execute Query | POST /v1/query/{query_id}/execute | Triggers an execution based on the query_id. Returns an execution_id. |
| Execute Query Pipeline | POST /v1/query/{query_id}/pipeline/execute | Executes a query pipeline with all its dependencies. Returns a pipeline_execution_id. |
| Get Execution Status | GET /v1/execution/{execution_id}/status | Provides the status of a query execution given an execution_id. |
| Get Execution Result | GET /v1/execution/{execution_id}/results | Fetches the execution status, metadata, and results in JSON format. Similar data handling as CSV endpoint. |
| Get Execution Result in CSV | GET /v1/execution/{execution_id}/results/csv | Retrieves the status, metadata, and results in CSV format. Includes data retention and limit information. |
| Get Latest Query Result | GET /v1/query/{query_id}/results | Similar to the CSV endpoint but returns results in JSON format. Follows the same access and data limit policies. |
| Get Latest Query Result in CSV | GET /v1/query/{query_id}/results/csv | Returns the latest results of a query in CSV format, irrespective of the execution method. Queries must be public or owned. |
| Cancel Execution | POST /v1/execution/{execution_id}/cancel | Cancels an ongoing query execution. Requires the execution_id. Returns a success boolean. |