Returns a single query by its ID. Includes path and folderId if the query is placed in a folder.
Documentation Index
Fetch the complete documentation index at: https://docs.peaka.com/llms.txt
Use this file to discover all available pages before exploring further.


Use the Authorization header with the value 'Bearer ' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
Read Query
Queries in this folder (present only when includeQueries=true)
The ID of the query.
The display name of the query.
The name of the query.
This is the name of the query which will be used in the sql query. e.g. SELECT * FROM "peaka"."query".""
The sql query.
The reference id of the input query.
The type of the query: PLAIN or MATERIALIZED
This class represents a schedule for a materialized query.
The path of the query (e.g. "/analytics/dashboards"). Null if the query is not in any folder.
The ID of the folder containing this query. Null if the query is not in any folder.