Get Folder
Get a folder with its children (subfolders and resources).Path Parameters
The unique identifier of the datasource
The unique identifier of the folder
Response
Folder name
ID of the datasource this folder belongs to
ID of the parent folder (null for root folders)
Folder unique identifier
Additional metadata for the folder
When the folder was created (ISO 8601 format)
When the folder was last updated (ISO 8601 format)
Array of child folders (recursive structure)
Update Folder
Update folder properties.Path Parameters
The unique identifier of the datasource
The unique identifier of the folder
Request Body
Updated folder name
Updated parent folder ID (use null to move to root level)
Updated additional metadata
Response
Returns the updated folder object.Delete Folder
Delete a folder and all its contents.Path Parameters
The unique identifier of the datasource
The unique identifier of the folder to delete
Response
Returns a 200 status code on successful deletion.Create Folder
Create a new folder within a datasource.Path Parameters
The unique identifier of the datasource
Request Body
Folder name
ID of the parent folder (omit or use null to create in root)
Additional metadata for the folder
Response
Returns the created folder object.List Datasource Folders
List all folders in a datasource with their hierarchical structure.Path Parameters
The unique identifier of the datasource
Response
Array of root-level folders with nested children
Move Resource to Folder
Move a resource into a specific folder.Path Parameters
The unique identifier of the datasource
The unique identifier of the destination folder
The unique identifier of the resource to move
Response
Returns a success confirmation.Folder Organization Best Practices
1
Plan Your Structure
Design a logical folder hierarchy before adding resources
2
Use Descriptive Names
Choose clear, descriptive names that indicate the folder’s purpose
3
Keep It Shallow
Avoid deeply nested structures (3-4 levels maximum)
4
Group by Function
Organize folders by topic, type, or workflow rather than arbitrary categorization
Common Organization Patterns
- By Content Type
- By Product Area
- By Audience
Extra Info Usage
Theextra_info field allows you to store additional metadata about folders:
UI Customization
UI Customization
Store display preferences like colors, icons, or sorting orders
Access Control
Access Control
Store visibility or access information for your application logic
Workflow State
Workflow State
Track folder status or workflow information
Folders provide organizational structure but do not affect how agents search or access resources. Use metadata filtering on resources for access control and content filtering.