List Queries
Returns all queries belonging to the given project. Each query includes its path and folderId if it is placed in a folder.


Authorizations
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
Path Parameters
ID of the Project
Response
List of queries
The ID of the query.
The display name of the query.
The name of the query used in SQL, e.g. SELECT * FROM "peaka"."query"."". For a MATERIALIZED query the materialized result is queryable as "peaka"."mtquery"."".
The SQL query. For a materialized query created from an existing query (via inputQueryRefId), this holds the snapshot of the source query's SQL resolved when the query was created or last updated with the reference.
The type of the query.
PLAIN, MATERIALIZED Schedule configuration of a materialized query. Provide EITHER an interval schedule (type=interval with repeatDuration) OR a cron schedule (type=cron with cronExpression and optional timezone). Use type=none for no schedule. The fields that do not apply to the chosen type are omitted.
{
"type": "cron",
"cronExpression": "0 0 * * *",
"timezone": "UTC"
}
The folder path of the query (e.g. "/analytics/dashboards"). Null if not in any folder.
The ID of the folder containing this query. Null if not in any folder.