v1
latestOpenAPI 3.0.12026-07-22367385.5 KBGet query pipeline
Builds a query pipeline from the specified query and returns the pipeline definition containing all the nested materialized views that the query depends on. A pipeline allows you to chain multiple queries together and execute them as a single unit.
get/v1/query/{query_id}/pipeline
Path parameters
query_idinteger required
Unique identifier of the query
Query parameters
api_keystring
Alternative to using the X-Dune-Api-Key header
performancestring
The performance engine tier. Can be small, medium, or large.
query_parametersstring
SQL Query parameters in json key-value pairs
Headers
X-Dune-Api-Keystring required
API Key for the service
Response
OK
Example response
{
"pipeline": {
"nodes": [
{
"id": 1,
"materialized_view_refresh": {
"name": "mv_1",
"performance": "medium"
},
"query_execution": {
"performance": "medium",
"query_id": 1234
}
}
]
}
}