List document queries
Retrieve queries associated with a document by its identifier. The specified document must be a saved document with at least one query in the workbook.
An organization API key can pass userId to list the queries as that member instead of the key’s creator — the member’s access to the document decides what’s returned. A user-scoped key can only ever act as itself.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
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.
Query Parameters
Organization API key required. The membership ID of the user to act as.
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.
List of queries in the document

