Skip to main content

How It Works

  1. Import the client - Get direct API access
  2. Configure authentication - Set your API key
  3. Call file operations - Use methods directly
  4. Handle responses - Process results as needed

Features

  • Direct API Access - No AI dependencies or abstractions
  • Complete Control - Full access to all 8 file operations
  • Type Safety - Full TypeScript support with Pydantic models
  • Custom Integration - Build your own tools and workflows
  • Performance - Minimal overhead, maximum speed

Installation

Refer to the SDK Overview for installation instructions and import paths.

Basic Usage

File Operations

Write File

Create a new file or new version of existing file:

Read File

Get file content and metadata:

Edit File

Find and replace specific content:

List Files

Browse files and directories:

Append to File

Add content to the end of a file:

Overwrite File

Replace entire file content:

Get File Versions

Access complete version history:

Advanced Configuration

Custom Base URL and Timeouts

File Organization with BasePath

Error Handling

Use Cases

Custom CMS Integration

File Backup System

When to Use Core Client

Choose Core Client when you need:
  • Direct API control without AI abstractions
  • Custom file operation workflows
  • Integration with non-AI systems
  • Building your own tools and abstractions
Consider alternatives:

Next Steps

Examples

See real Core Client implementations

API Reference

Explore the complete REST API