v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-1194110197.0 KB
E2E Encryption

Create decrypt session

Create a temporary, scoped session that allows a remote agent to decrypt E2E-encrypted chunks through the desktop bridge. Sessions have a TTL, max chunk limit, and allowed operations.

post/daemon/e2e/sessions

Request body

local_folder_idstring required

E2E source to create session for

ttl_secondsinteger

Session time-to-live in seconds (30s to 1h)

max_chunksinteger

Maximum number of chunks that can be decrypted in this session

allowed_operationsstring[]

Operations permitted in this session

Response

Successful Response

idstring required

Session identifier

local_folder_idstring required
status'active' | 'expired' | 'exhausted' required

Session status: active, expired, or exhausted

created_atstring date-time required
expires_atstring date-time required
chunks_usedinteger required

Number of chunks decrypted so far

max_chunksinteger required
allowed_operationsstring[]