Authentication & Scope
Requires theworkspaces-read ability.
Request
Response
200 OK – An array of Workspace objects.
403 Forbidden – The token lacks workspaces-read or you do not have the necessary permissions.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Return the workspaces the authenticated user belongs to.
workspaces-read ability.
GET /workspaces HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
200 OK – An array of Workspace objects.
[
{
"id": 1,
"name": "My Workspace",
"icon": "📊",
"settings": {},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
]
403 Forbidden – The token lacks workspaces-read or you do not have the necessary permissions.