1. Get Your API Key
1
Sign up
Create your account at console.openfiles.ai
2
Create API Key
Navigate to API Keys → Create API Key
3
Copy Your Key
Copy your API key (starts with
oa_
) and store it securely2. 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