REST base URL, auth, and resource map·View as Markdown

API overview

Agent-readable REST API for workspaces, buckets, files, intelligence, and the bucket agent.

Prefer MCP in agent clients. Use REST when you need raw HTTP.

Base URL

https://www.file.rocks/api/v1

Auth

Authorization: Bearer fr_live_...

Create keys in Settings → API keys (dogfood / intelligence allowlist only). Scopes are enforced per route. Keys may restrict bucketIds.

Auth · API keys guide

Resources

AreaDocs
Workspacesapi/workspaces
Bucketsapi/buckets
Filesapi/files
Intelligenceapi/intelligence
Agentapi/agent
Shares & transfersapi/shares-transfers
Errors & scopesapi/errors

Quick map

  • GET /workspacesworkspaces:read
  • GET /workspaces/{workspaceId}/bucketsbuckets:read
  • GET .../buckets/{bucketId}/files?prefix=&search=&tag=&semantic=1files:read
  • PATCH .../files/{fileId} — tags / description — files:write
  • POST .../files/presign-upload · presign-downloadfiles:upload / files:download
  • GET|PATCH .../intelligenceintelligence:read|write
  • POST .../intelligence/backfillintelligence:write
  • POST .../agentagent:run
  • GET .../shares · GET .../transfers

Example

curl -s -H "Authorization: Bearer $FR_KEY" \
  https://www.file.rocks/api/v1/workspaces/$WS/buckets | jq
API overview · file.rocks docs