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. Agents that upload must follow Upload flow — do not POST upload-complete from an agent HTTP client.

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
Automations & Trashapi/automations
Pages & Blocksapi/pages
Suggestionsapi/suggestions
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 · upload-complete · presign-downloadfiles:upload / files:download
  • GET|PATCH .../intelligenceintelligence:read|write
  • POST .../intelligence/backfillintelligence:write
  • POST .../agentagent:run
  • GET|POST .../automations · GET|PATCH .../trashautomations:read|write
  • GET|POST .../suggestionssuggestions:read|write
  • POST .../files/trash · POST .../files/movefiles:delete / files:write
  • 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