Skip to main content
POST
Create Folder

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
workspaceId
string
required

Unique identifier for the workspace

Minimum string length: 1
name
string
required

Name of the folder

Minimum string length: 1
entityType
enum<string>
required

Type of entity for the folder

Available options:
WORKFLOW,
PROMPT_CHAIN,
DATASET,
PROMPT,
CONTEXT_SOURCE,
PROMPT_COMPARISONS,
LOG_REPOSITORY,
PROMPT_TOOL,
EVALUATOR
parentId
string | null

ID of the parent folder, if any

config
any | null

Additional configuration for the folder. Can be any key-value pair.

Response

Folder created successfully

data
object
required