Add/Remove Queries In/From Folder
Moves queries into or out of a folder. Queries in queryIdsAdded are moved to the folder’s path, queries in queryIdsRemoved are moved to root (”/”).


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
ID of the Query Folder
Body
Query add/remove request
Request body for updating a query folder (adding/removing query IDs).
Both lists are initialised to empty {@link ArrayList ArrayList}s so the serialised
JSON always contains "queryIdsAdded": [...] and
"queryIdsRemoved": [...]. The search service requires both fields
to be present (non-null) and rejects null with a validation error.
Response
Queries moved successfully
A folder with its direct child folders and queries
Unique identifier of the folder (UUID)
Display name of the folder
Full path of the folder in the hierarchy
ID of the parent folder, null if root-level
Timestamp when the folder was created (ISO 8601)
Direct child folders
Queries contained in this folder