Create a query folder
Creates a new query folder in the caller's vault with a name and optional color, icon, and workflow/workspace scoping.
POST
/api/query-metadata/foldersBody
vaultIdstringpathstringrequireddescriptionstringRequest
curl
curl -X POST https://platform.trickest.com/api/query-metadata/folders \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
201Created folder
idstringrequiredvaultIdstringrequiredworkflowIdstringworkspaceIdstringnamestringrequiredcolorstringiconstringsortOrderintegerqueryCountintegercreatedAtstringupdatedAtstring400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring