#files Endpoints (18)

POST/v1/files/presigned-uploadopen-api (Python :8010)#files

Presigned Upload Api

Generates a presigned upload URL and target storage key for direct client-to-storage uploads.

POST/v1/files/registeropen-api (Python :8010)#files

Register File Api

Commits an uploaded file into the database, registers initial version (v1), and links to vaults.

POST/v1/files/open-api (Python :8010)#files

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'.

POST/v1/filesopen-api (Python :8010)#files

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'.

POST/v1/files/publicopen-api (Python :8010)#files

Create Public File Api

Multipart upload that marks file as public.

GET/v1/files/download-directopen-api (Python :8010)#files

Download Direct Api

Serves file directly from local storage driver.

POST/v1/files/upload-directopen-api (Python :8010)#files

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': ...}.

PUT/v1/files/upload-directopen-api (Python :8010)#files

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': ...}.

POST/v1/files/locationopen-api (Python :8010)#files

Get File By Location Api

Fetches or streams file content given its ID or full location key.

GET/v1/files/stream/{file_id}open-api (Python :8010)#files

Stream File Api

Streams media file with HTTP 206 Partial Content range support.

GET/v1/files/streamopen-api (Python :8010)#files

Stream By Location Api

Streams media file by location with HTTP 206 Partial Content support.

GET/v1/files/{file_id}open-api (Python :8010)#files

Get File Api

Retrieves file record metadata along with direct access / download URL.

DELETE/v1/files/{file_id}open-api (Python :8010)#files

Delete File Api

Soft-deletes a file record.

GET/v1/files/presigned-url/{file_id}open-api (Python :8010)#files

Get Presigned Download Url Api

Generates a temporary signed download URL for the file.

POST/v1/files/{file_id}/contentopen-api (Python :8010)#files

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.

POST/v1/files/batch-contentopen-api (Python :8010)#files

Batch Update Content Api

Batch updates markdown content for multiple files.

GET/v1/files/{file_id}/versionsopen-api (Python :8010)#files

Get File Versions Api

Returns list of historical snapshot versions for the file.

POST/v1/files/{file_id}/rollbackopen-api (Python :8010)#files

Rollback File Version Api

Rolls back the file to a specified historical version snapshot.