Skip to main content

Import Paths

Configuration Options

OpenAI Integration

Tools Integration

Core Client

File Constraints

Path Format

  • Use forward slashes: folder/subfolder/file.txt
  • No leading slashes: file.txt not /file.txt
  • No trailing slashes: folder/file.txt not folder/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

Choose Your Integration

OpenAI Integration

Easiest: Drop-in replacement for OpenAI SDK with automatic file operations

Tools Integration

Flexible: Works with any AI provider (OpenAI, Anthropic, etc.)

Core Client

Control: Direct API access for custom integrations