v1

latestOpenAPI 3.0.12026-07-22367385.5 KB

Execute a pipeline

Executes a specified pipeline. A pipeline allows you to chain multiple queries and materialized view refreshes together and execute them as a single unit.

post/v1/pipelines/execute

Query parameters

api_keystring

Alternative to using the X-Dune-Api-Key header

Headers

X-Dune-Api-Keystring required

API Key for the service

Request body

Example request

{
  "pipeline": {
    "nodes": [
      {
        "id": 1,
        "materialized_view_refresh": {
          "name": "mv_1",
          "performance": "medium"
        },
        "query_execution": {
          "performance": "medium",
          "query_id": 1234
        }
      }
    ]
  }
}

Response

OK

pipeline_execution_idstring

Unique identifier for the pipeline execution. Use this ID to check the status and retrieve results of the pipeline execution.

Example response

{
  "pipeline_execution_id": "01HKZJ2683PHF9Q9PHHQ8FW4Q1"
}