cast files
Manage files in Castari’s managed storage. Upload, list, and manage files that can be attached to agents.
Command Overview
cast files list
List files in your managed storage.
Usage
Options
Example
Output
Search Files
cast files upload
Upload a file to managed storage.
Usage
Arguments
Options
Example
Output
Files larger than 10MB automatically use presigned uploads for better performance.
cast files get
Get detailed information about a file.
Usage
Example
Output
cast files delete
Delete a file from storage.
Usage
Options
Example
Output
Deleting a file will also detach it from any agents it was attached to.
cast files download
Download a file from storage.
Usage
Options
Example
Output
cast files usage
Show your storage usage and quota.
Usage
Example
Output
Agent Files Commands
Manage files attached to specific agents.
cast agents files list
List files attached to an agent.
Example
Output
cast agents files add
Attach a file to an agent.
Options
Example
Output
cast agents files remove
Detach a file from an agent.
Options
Example
Output
Workflow Example
Complete workflow for using files with an agent:
See Also