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

# List workspaces

`GET /tenant/workspaces`

## Request

- Base URL: `https://api.savanto.ai`
- URL: `https://api.savanto.ai/tenant/workspaces`
- Auth: HTTP bearer

Return every workspace owned by the authenticated tenant, with each workspace's id, name, platform (wordpress | shopify | custom | none), and domain. Use this before calling any workspace-scoped endpoint (crawl, products, posts, chat) to discover the correct `workspaceId` to pass via the `X-Workspace-ID` header. Always cheap and safe to call repeatedly.

## Response `200`

Workspace list

- object
  - `object` 'list', required
  - `requestId` string, required
  - `data` object, required
    - `items` WorkspaceSummary[], required
      - `workspaceId` string, required
      - `name` string
      - `domain` string
      - `platform` 'wordpress' | 'shopify' | 'custom'
      - `status` 'active' | 'deleting'
      - `createdAt` string
      - `updatedAt` string
    - `pagination` Pagination, required
      - `total` number, nullable, required
      - `limit` number, required
      - `hasMore` boolean, required
      - `offset` number
      - `cursor` string, nullable

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `413`: Payload too large
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/savanto/apis/savanto-api.md) · [All operations](https://skmtc.dev/savanto/apis/savanto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/savanto/apis/savanto-api/revisions/82437327a878?raw)
