v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Folder API

List Folder Contents

List the direct items in a folder. Leave folder_id unset to list the root.

get/v2/folder-contents

Query parameters

teamIdstring required

The ID of the team.

The ID of the team.

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.

The non-folder item type of the folder tree to list.

folderIdstring

The folder whose direct items should be listed. Unset lists the root.

The folder whose direct items should be listed. Unset lists the root.

pageSizeinteger

Maximum number of results to return. Default is 1000, maximum is 2000.

Maximum number of results to return. Default is 1000, maximum is 2000.

pageTokenstring

Token for pagination. Leave empty for the first request.

Token for pagination. Leave empty for the first request.

Response

Success

nextPageTokenstring nullable

Token for retrieving the next page of results. Empty if no more results.