curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries/folders/{folderId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"folderName": "<string>"
}'
{
"id": "<string>",
"name": "<string>",
"createdAt": 123,
"modifiedAt": 123,
"children": [
{}
],
"queryIds": [
"<string>"
]
}
curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/queries/folders/{folderId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"folderName": "<string>"
}'
{
"id": "<string>",
"name": "<string>",
"createdAt": 123,
"modifiedAt": 123,
"children": [
{}
],
"queryIds": [
"<string>"
]
}
Use the Authorization header with the value 'Bearer <apiKey>' 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
Folder Created
The response is of type object
.