Queries
Create Query
This API allows for anyone to create a query. The owner of the query will be under the context of the API key.
POST
/
v1
/
query
To access Query endpoints, a Plus plan or higher is required.
Headers
X-DUNE-API-KEY
string
requiredAPI Key for the service
Query Parameters
api_key
string
API Key for the service, alternative to using the HTTP header X-DUNE-API-KEY.
Body
application/json
name
string
Name of the query.
description
string
Description of the query.
parameters
object[]
query_sql
string
The SQL query text.
is_private
boolean
Indicates if the query is private.
Response
200 - application/json
query_id
integer
Was this page helpful?