Skip to main content

1. Get Your API Key

1

Sign up

Create your account at console.openfiles.ai
2

Create API Key

Navigate to API KeysCreate API Key
3

Copy Your Key

Copy your API key (starts with oa_) and store it securely

2. Make Your First API Call

Let’s create your first file:

3. Read Your File Back

Now let’s read the file we just created:

4. List All Your Files

See all files in your project:

Core Concepts

File Paths

  • Use S3-style paths: documents/report.pdf
  • No leading slashes: /documents/report.pdf
  • Forward slashes on all platforms

Versioning

  • Every write creates a new version automatically
  • Access specific versions: GET /files/report.pdf?version=2
  • Version history: GET /files/report.pdf?versions

Content Types

  • Auto-detected from file extension
  • Or specify explicitly: "contentType": "application/json"
  • Supports text and binary files

Common Patterns

Organize Files with Folders

Edit Existing Files

Append to Log Files

Next Steps

File Operations

Explore all 8 file operations

SDKs

Use our TypeScript or Python SDKs
Ready to build something amazing? Check out our complete API reference for all available operations!