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.
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 |
| 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·presign-download—files:upload/files:downloadGET|PATCH .../intelligence—intelligence:read|writePOST .../intelligence/backfill—intelligence:writePOST .../agent—agent:runGET .../shares·GET .../transfers
Example
curl -s -H "Authorization: Bearer $FR_KEY" \
https://www.file.rocks/api/v1/workspaces/$WS/buckets | jq