PATCH
/
v1
/
query
/
{queryId}

To access Query endpoints, a Plus plan or higher is required.

Headers

X-DUNE-API-KEY
string
required

API Key for the service

Path Parameters

queryId
integer
required

unique identifier of the query

Body

application/json
query_id
integer

Unique identifier of the query.

name
string

Name of the query.

description
string

Description of the query.

tags
string[]

Tags associated with the query.

parameters
object[]
query_sql
string

The SQL query text.

is_private
boolean

Indicates if the query is private.

is_archived
boolean

Indicates if the query is archived.

Response

200 - application/json
query_id
integer