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

# Get Workspaces

`GET /v1/workspaces`

The workspaces this caller can act in.

Membership-scoped: this populates the workspace switcher, and a member has no business
knowing that workspaces they were never added to exist. An org admin belongs to every
workspace in the organization, and a user with no membership rows anywhere belongs to
the default one.

## Headers

- `X-API-Key` string, required

## Response `200`

Successful Response

- WorkspacesListResponse
  - `workspaces` WorkspaceOut[], required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable
    - `is_default` boolean, required
    - `usage_limit_credits` number, nullable
    - `member_count` integer, required
    - `key_count` integer, required
    - `created_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.dev/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/revisions/bf69ab7268a4/schema)
