# List your workspaces

`GET /v1/workspaces`

Scope: `docs:read`.

## Request

```bash
curl "https://api.lydie.co/v1/workspaces" \
  -H "Authorization: Bearer $LYDIE_TOKEN"
```

## Response

- `workspaces` (WorkspaceSummary[], required)
  - `id` (string, required): (1–64 chars)
  - `name` (string, required)
  - `role` (string, required): One of: `owner`, `admin`, `member`, `guest`.
  - `createdAt` (timestamp, required)
  - `updatedAt` (timestamp, required)

```json
{
  "workspaces": [
    {
      "id": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
      "name": "Notes",
      "role": "owner",
      "createdAt": "2026-11-12T09:30:00.000Z",
      "updatedAt": "2026-11-12T09:30:00.000Z"
    }
  ]
}
```

Errors use the envelope described at https://developers.lydie.co/errors.md.
