#files Endpoints (18)
Presigned Upload Api
Generates a presigned upload URL and target storage key for direct client-to-storage uploads.
Register File Api
Commits an uploaded file into the database, registers initial version (v1), and links to vaults.
Direct Upload Api
Direct multipart file upload for files up to 25MB. Uploads bytes directly to storage driver and registers metadata. Supports single 'file', list of 'files', 'public_file' / 'is_public', and 'vault_id' / 'vaults'.
Direct Upload Api
Direct multipart file upload for files up to 25MB. Uploads bytes directly to storage driver and registers metadata. Supports single 'file', list of 'files', 'public_file' / 'is_public', and 'vault_id' / 'vaults'.
Create Public File Api
Multipart upload that marks file as public.
Download Direct Api
Serves file directly from local storage driver.
Upload Direct Api
Receives direct upload. Supports: 1. Raw binary upload when 'key' query parameter and binary body are provided. 2. Multipart file upload when called by client SDKs with files={'file': ...}.
Upload Direct Api
Receives direct upload. Supports: 1. Raw binary upload when 'key' query parameter and binary body are provided. 2. Multipart file upload when called by client SDKs with files={'file': ...}.
Get File By Location Api
Fetches or streams file content given its ID or full location key.
Stream File Api
Streams media file with HTTP 206 Partial Content range support.
Stream By Location Api
Streams media file by location with HTTP 206 Partial Content support.
Get File Api
Retrieves file record metadata along with direct access / download URL.
Get Presigned Download Url Api
Generates a temporary signed download URL for the file.
Update File Content Api
Saves inline markdown or text content, increments active_version, stores immutable historical version in storage, and creates a file_version snapshot.
Batch Update Content Api
Batch updates markdown content for multiple files.
Get File Versions Api
Returns list of historical snapshot versions for the file.
Rollback File Version Api
Rolls back the file to a specified historical version snapshot.
