Skip to main content
GET
List document queries
Check out the Running document queries with APIs guide to learn how to programmatically run the queries you retrieve with this API.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

documentId
string
required

The unique identifier of the document. This can be retrieved by opening File > Document settings and clicking Settings. The Identifier field contains the document ID.

Response

Every saved query in the document, in tab order.

Note that when a document has a presentation (dashboard or app), the layout decides which queries are rendered. This means that this response may include queries that aren't included in a layout.

queries
object[]
required

List of queries in the document