curl --request POST \
--url https://api.getmaxim.ai/v1/folders \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"workspaceId": "<string>",
"name": "<string>",
"entityType": "WORKFLOW",
"parentId": "<string>",
"config": "<unknown>"
}
'{
"data": {
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"entityType": "WORKFLOW",
"parentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"config": null,
"type": "FOLDER"
}
}Create a new folder for organizing entities
curl --request POST \
--url https://api.getmaxim.ai/v1/folders \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"workspaceId": "<string>",
"name": "<string>",
"entityType": "WORKFLOW",
"parentId": "<string>",
"config": "<unknown>"
}
'{
"data": {
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"entityType": "WORKFLOW",
"parentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"config": null,
"type": "FOLDER"
}
}API key for authentication
Unique identifier for the workspace
1Name of the folder
1Type of entity for the folder
WORKFLOW, PROMPT_CHAIN, DATASET, PROMPT, CONTEXT_SOURCE, PROMPT_COMPARISONS, LOG_REPOSITORY, PROMPT_TOOL ID of the parent folder, if any
Additional configuration for the folder. Can be any key-value pair.
Folder created successfully
Show child attributes
Was this page helpful?