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

# List Workspaces

`GET /api/admin/workspaces`

## Query parameters

- `plan` string, nullable
- `suspended` boolean, nullable
- `sort` string
- `search` string, nullable
- `cursor` string, nullable
- `limit` integer
- `sort_dir` 'asc' | 'desc'

## Response `200`

Successful Response

- WorkspaceListResponse
  - `items` WorkspaceListItem[], required
    - `id` string, required
    - `name` string, required
    - `plan` string, required
    - `owner_email` string, required
    - `owner_name` string, nullable
    - `active_integrations` integer
    - `active_usecases` integer
    - `failed_calls_24h` integer
    - `active_calls` integer
    - `usage` UsageSummary, required
      - `total_calls` integer
      - `total_cost` number
      - `whatsapp_usage` integer
      - `period_start` string, date-time, nullable
      - `period_end` string, date-time, nullable
    - `custom_max_usage` integer, nullable
    - `created_at` string, date-time, required
    - `last_call_at` string, date-time, nullable
    - `suspended_at` string, date-time, nullable
    - `suspended_reason` string, nullable
  - `pagination` CursorPage, required
    - `next_cursor` string, nullable
    - `has_more` boolean
    - `total` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/a57f684e7966/schema)
