---
title: "List workspaces"
method: GET
path: "/workspaces"
tags: ["Workspaces"]
---

# List workspaces

`GET /workspaces`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/workspaces`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Auth — Any authenticated user.

## Response `200`

Success

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `identity_id` string, uuid
    - `owner_id` string, uuid, nullable
    - `permissions` object, required
      - `admin` boolean
      - `edit` boolean
    - `prefs` object, nullable
    - `state` integer
    - `ts` string, date-time
    - `ts_mod` string, date-time
  - `total_count` integer, required
  - `count` integer
  - `offset` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
