Menu
List and inspect workspaces·View as Markdown
Workspaces
List
GET /workspaces · scope workspaces:read
Returns workspaces the key's creator can access (via membership).
curl -s -H "Authorization: Bearer $FR_KEY" \
https://www.file.rocks/api/v1/workspaces | jq
{
"workspaces": [
{
"id": "...",
"name": "Personal",
"plan": "pro",
"defaultBucketId": "..."
}
]
}
Get one
GET /workspaces/{workspaceId} · workspaces:read
Path workspaceId must match the key's workspace.