v1

latestOpenAPI 3.0.12026-07-22367385.5 KB

Execute a query pipeline

Builds a query pipeline from the specified query and executes it. A pipeline allows you to chain multiple queries together and execute them as a single unit.

post/v1/query/{query_id}/pipeline/execute

Path parameters

query_idinteger required

Unique identifier of the query

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

performance'small' | 'medium' | 'large' required
query_parametersobject

SQL Query parameters in json key-value pairs. Each parameter is to be provided in key-value pairs. This enables you to execute a parameterized query with the provided values for your parameter keys.

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"
}