Import Paths
Configuration Options
OpenAI Integration
Tools Integration
Core Client
File Constraints
Constraint | Limit | Notes |
---|---|---|
File size | 10MB | Per file operation |
Path length | 1000 characters | Including all path segments |
Filename length | 255 characters | Per path segment |
Request timeout | 60 seconds | Configurable up to 300s |
Concurrent requests | 100 | Per API key |
Path Format
- Use forward slashes:
folder/subfolder/file.txt
- No leading slashes:
file.txt
not/file.txt
- No trailing slashes:
folder/file.txt
notfolder/file.txt/
- Case sensitive on all platforms
Error Handling
HTTP Status Codes
400
- Bad Request (invalid parameters)401
- Unauthorized (invalid API key)404
- Not Found (file doesn’t exist)409
- Conflict (file already exists for write operations)413
- Payload Too Large (file exceeds size limit)429
- Rate Limited (too many requests)500
- Internal Server Error
SDK Error Types
Platform Support
Platform | OpenAI Integration | Tools | Core Client |
---|---|---|---|
Node.js 18+ | ✅ | ✅ | ✅ |
Python 3.8+ | ✅ | ✅ | ✅ |
Deno | ❌ | ✅ | ✅ |
Bun | ✅ | ✅ | ✅ |
Edge Runtime | ❌ | ✅ | ✅ |
Browser | ❌ | ✅ | ✅ |