> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Workspaces - GET /v1/workspaces

> Return all workspaces the current user is a member of, with their role, via GET /v1/workspaces.

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

## Endpoint

```http theme={null}
GET /v1/workspaces
```

## Authentication

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

## Response

The response is an array; each element:

**id** `string`

Workspace id.

**name** `string`

Name.

**role** `string`

The current user's role in the workspace.

## Example

```bash cURL theme={null}
curl https://memo.ariacompute.com/v1/workspaces \
  -H "Authorization: Bearer <jwt>"
```

```json 200 theme={null}
[
  {
    "id": "ws_01a2b3c4d5e6",
    "name": "My Research Team",
    "role": "owner"
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.