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

# List Workspaces

`GET /api/admin/workspaces`

## Request

- Base URL: `https://api.heymetra.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.heymetra.com/api/admin/workspaces`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `x-workspace-id` string, nullable

## Response `200`

Successful Response

- WorkspaceRow[]
  - `tenant_id` string, uuid, required
  - `name` string, required
  - `plan` 'starter' | 'pro' | 'superior' | 'enterprise', required
  - `subscription_status` 'none' | 'active' | 'past_due' | 'canceled' | 'trialing' | 'trial_ended', required
  - `billing_interval` 'monthly' | 'annual', required
  - `current_period_start` string, date-time, nullable, required
  - `current_period_end` string, date-time, nullable, required
  - `members` integer, required
  - `connections` integer, required
  - `monthly_price_usd` number, required
  - `connector_limit` integer, required
  - `account_limit` integer, required
  - `seat_limit` integer, required

## Other responses

- `422`: Validation Error

---

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