Executes a specified pipeline. A pipeline allows you to chain multiple queries and materialized view refreshes together and execute them as a single unit.
This endpoint builds an execution pipeline from a specified query and executes it. The pipeline will automatically include all materialized views in the query’s lineage, ensuring coordinated execution of dependent queries.Documentation Index
Fetch the complete documentation index at: https://docs.dune.com/llms.txt
Use this file to discover all available pages before exploring further.
pipeline_execution_id for monitoring progress| Feature | Execute Pipeline | Execute Query Pipeline |
|---|---|---|
| Endpoint | POST /v1/pipelines/execute | POST /v1/query/{query_id}/pipeline/execute |
| Query ID | In request body | In URL path |
| Lineage | Automatically includes all materialized views | Executes predefined pipeline |
| Use Case | Dynamic pipeline based on query dependencies | Predefined pipeline execution |
query_id (required): The unique identifier of the query to executeperformance (optional): Execution tier - medium (default) or largequery_parameters (optional): SQL query parameters as JSON key-value pairspipeline_execution_idAPI Key for the service
Alternative to using the X-Dune-Api-Key header
Pipeline execution request
The pipeline definition containing nodes to execute
OK
Unique identifier for the pipeline execution. Use this ID to check the status and retrieve results of the pipeline execution.
"01HKZJ2683PHF9Q9PHHQ8FW4Q1"