Skip to main content
The ZeroDrive REST API lives at https://api.zerodrive.dev. Every call reads and writes the same account files, share links, and Knowledge Brain index as Finder, File Explorer, MCP, and zd.

OpenAPI schema and test playground

Key API patterns

Safe edits and retries

Write routes support expected_revision or If-Match (returns 409 Conflict if another edit landed first), Idempotency-Key (makes network retries safe), and on_conflict (fail or overwrite).

Live push events (SSE)

Listen on GET /v1/events or GET /v1/activity/stream so desktop drives refresh right after API or MCP changes.

Big uploads and range downloads

  • POST /v1/files/upload-urls gives 1-hour direct PUT URLs up to 5 GiB.
  • POST /v1/files/multipart/* uploads up to 5 TiB across 45 MB parts.
  • GET /v1/files/download-url gives 24-hour links supporting byte-range requests (Accept-Ranges: bytes).

Retired endpoints (410 endpoint_removed)