Key Features
- File Upload: Support for multiple file formats
- File Management: List, organize, and delete files
- Metadata Tracking: File types, sizes, and processing status
- Bulk Operations: Efficient handling of multiple files
- Search & Filtering: Find files by name, type, or tags
Authentication
All endpoints require authentication using your API key:- API Key:
x-api-key: <key>
Available Endpoints
List Files
Retrieve all accessible files
Upload File
Upload a new file to the system
Get File
Retrieve file details and metadata
Delete File
Remove a file from the system
Bulk Operations
Perform operations on multiple files
Supported File Types
- Documents
- Images
- Data
- Code
- PDF:
.pdf - Word:
.doc,.docx - Text:
.txt,.md - Rich Text:
.rtf
File Processing Pipeline
- Upload: File uploaded to secure storage
- Validation: Format and content verification
- Processing: Text extraction and analysis
- Indexing: Preparation for knowledge base integration
- Ready: Available for use in collections
File Status States
uploading
uploading
File is being uploaded to the system
active
active
File is processed and ready for use
archived
archived
File is archived but still accessible
deleted
deleted
File is marked for deletion
error
error
Processing failed - check error details
File Organization
Tags
Organize files with custom tags:- Project-based:
project:website,project:mobile - Content-type:
manual,policy,faq - Department:
hr,engineering,sales
Search & Filtering
Find files efficiently:- By name: Partial filename matching
- By type: Filter by document, image, etc.
- By status: Active, archived, or error states
- By tags: Multiple tag filtering
File Metadata
Each file includes comprehensive metadata:Unique file identifier
Original name of the uploaded file
Categorized file type (document, image, etc.)
File size in bytes
Current processing status
Associated tags for organization
Usage in Knowledge Bases
Files can be:- Added to collections: Grouped with related files
- Processed for retrieval: Text extracted and indexed
- Used by agents: Referenced in knowledge base queries
- Updated or replaced: Maintain current information
Files must be added to collections before they can be used in knowledge bases.