curl --request GET \
--url https://api.getmaxim.ai/v1/folders \
--header 'x-maxim-api-key: <api-key>'{
"data": {
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"entityType": "WORKFLOW",
"parentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"config": null,
"type": "FOLDER"
},
"pagination": {
"hasMore": true,
"nextCursor": "<string>"
}
}Get folder details. If id or name is provided, returns a single folder object. Otherwise, lists sub-folders under the parentFolderId (or root).
curl --request GET \
--url https://api.getmaxim.ai/v1/folders \
--header 'x-maxim-api-key: <api-key>'{
"data": {
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"entityType": "WORKFLOW",
"parentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"config": null,
"type": "FOLDER"
},
"pagination": {
"hasMore": true,
"nextCursor": "<string>"
}
}API key for authentication
Unique identifier for the folder
Name of the folder
Unique identifier for the workspace
ID of the parent folder to filter by
Name of the parent folder to filter by (alternative to parentFolderId)
WORKFLOW, PROMPT_CHAIN, DATASET, PROMPT, CONTEXT_SOURCE, PROMPT_COMPARISONS, LOG_REPOSITORY, PROMPT_TOOL Maximum number of records to return (max: 100)
x <= 100Cursor for pagination
Was this page helpful?