Read Query
This API allows for anyone to read the sql text, parameters, name, tags, and state of a query. For private queries, only the API key generated under the context of the owner of that query will work.
To access Query endpoints, a Plus plan or higher is required.
Headers
API Key for the service
Path Parameters
Query ID
Query Parameters
API Key, alternative to using the HTTP header X-Dune-Api-Key
Response
The description of the query
Indicates if the query is archived. Archived queries cannot be executed.
Indicates if the query is private.
Indicates if the query is unsaved.
The name of the query
username or team handle
The parameters that can modify the execution of the sql.
The query engine used to execute the query.
The unique ID of the query
The SQL query text.
Tags associated with the query.
Version of the query, gets incremented every time the query is updated.
Was this page helpful?