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:
The current user’s role in the workspace.
Example