v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Folder API

Create Folder

Create a folder to organize folder items. Set item_type to choose the item type; pass parent_folder_id to nest under an existing folder of the same type.

post/v2/folders

Request body

teamIdstring required

The ID of the team.

namestring required

The name of the folder.

itemType'FOLDER_ITEM_TYPE_UNSPECIFIED' | 'FOLDER_ITEM_TYPE_FOLDER' | 'FOLDER_ITEM_TYPE_WORKFLOW' | 'FOLDER_ITEM_TYPE_GUIDANCE' required

Types of items that can appear in folder contents.

parentFolderIdstring nullable

Optional parent folder. Unset creates the folder at the root. The parent must be of the same item_type.

Response

Success