Menu
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
| Area | Docs |
|---|---|
| Workspaces | api/workspaces |
| Buckets | api/buckets |
| Files | api/files |
| Automations & Trash | api/automations |
| Pages & Blocks | api/pages |
| Suggestions | api/suggestions |
| Intelligence | api/intelligence |
| Agent | api/agent |
| Shares & transfers | api/shares-transfers |
| Errors & scopes | api/errors |
Quick map
GET /workspaces—workspaces:readGET /workspaces/{workspaceId}/buckets—buckets:readGET .../buckets/{bucketId}/files?prefix=&search=&tag=&semantic=1—files:readPATCH .../files/{fileId}— tags / description —files:writePOST .../files/presign-upload·upload-complete·presign-download—files:upload/files:downloadGET|PATCH .../intelligence—intelligence:read|writePOST .../intelligence/backfill—intelligence:writePOST .../agent—agent:runGET|POST .../automations·GET|PATCH .../trash—automations:read|writeGET|POST .../suggestions—suggestions:read|writePOST .../files/trash·POST .../files/move—files:delete/files:writeGET .../shares·GET .../transfers
Example
curl -s -H "Authorization: Bearer $FR_KEY" \
https://www.file.rocks/api/v1/workspaces/$WS/buckets | jq