v2
library
folders
private
List Library Folders
Changed onList folders for the authenticated user.
Args: user_id: ID of the authenticated user. parent_id: Optional parent folder ID to filter by. include_relations: Whether to include agent and subfolder relations for counts.
Returns: A FolderListResponse containing folders.
get/api/library/folders
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
parent_idstring nullable
Filter by parent folder ID. If not provided, returns root-level folders.
include_relationsboolean
Include agent and subfolder relations (for counts)
Response
List of folders
Example response
{
"pagination": {
"total_items": 42,
"total_pages": 2,
"current_page": 1,
"page_size": 25
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info