Platform services
Flux is composed of modular services, each responsible for a specific domain:Metadata Service
Manages file metadata, DEK wrapping, caching with Valkey, and aggregate statistics.
Thumbnail Service
Generates and serves responsive thumbnails for uploaded files. Coming soon.
Flux Pass
Handles authentication, sessions, and access control.
Key concepts
Before diving into the API, familiarize yourself with these core concepts:| Concept | Description |
|---|---|
| DEK | Data Encryption Key - a per-file symmetric key used to encrypt file contents. |
| Master key | Server-side key used to wrap (encrypt) and unwrap (decrypt) DEKs. |
| Valkey | In-memory cache layer used to store frequently accessed metadata with TTL-based expiration. |
| Convex | The primary database backing persistent metadata and file records. |
API conventions
All Flux API endpoints follow a consistent pattern:- Current version: v1
- No hyphens in endpoint paths
- Standard methods:
POST,GET,DELETE
Get started
Quickstart
Set up your environment and make your first API call in minutes.

