Skip to main content
Returns every workspace the current user belongs to, along with their role in each.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...> (auth only).

Response

The response is an array; each element:
string
Workspace id.
string
Name.
string
The current user’s role in the workspace.

Example