Folders
Get Folders
Get folder details. If id or name is provided, returns a single folder object. Otherwise, lists sub-folders under the parentFolderId (or root).
Authorization
x-maxim-api-key
<token>API key for authentication
In: header
Query Parameters
id
stringUnique identifier for the folder
name
stringName of the folder
workspaceId
RequiredstringUnique identifier for the workspace
parentFolderId
stringID of the parent folder to filter by
parentFolderName
stringName of the parent folder to filter by (alternative to parentFolderId)
entityType
RequiredstringValue in:
"WORKFLOW" | "PROMPT_CHAIN" | "DATASET" | "PROMPT" | "CONTEXT_SOURCE" | "PROMPT_COMPARISONS" | "LOG_REPOSITORY" | "PROMPT_TOOL"
limit
numberMaximum number of records to return (max: 100)
Default:
20
Maximum: 100
cursor
stringCursor for pagination
Folders retrieved successfully