---
title: "List active workspace memberships"
method: GET
path: "/auth/organizations"
---

# List active workspace memberships

`GET /auth/organizations`

## Request

- Base URL: `https://api.caveman.so/api/v1`
- URL: `https://api.caveman.so/api/v1/auth/organizations`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/api/v1/oauth/authorize`
    - Token URL: `/api/v1/oauth/token` scopes: `org:read`
  - HTTP bearer
  - API key in cookie `cave_access`
  - API key in cookie `__Secure-cave_identity.session_token`

GET /api/v1/auth/organizations on the Caveman Cloud control plane. Requires the org:read scope. Not exposed to autonomous agents: Moves the caller across the organization boundary. A project-scoped agent session must never leave its tenant.

## Response `200`

Active memberships visible to the authenticated account.

- object
  - `data` OrganizationMembership[], required
    - `organization_id` string, uuid, required
    - `accepted` boolean, required: False while the membership is an invitation the user has not accepted; switching to the organization accepts it.
    - `name` string, required
    - `slug` string, required
    - `role` 'owner' | 'admin' | 'engineer' | 'viewer' | 'billing', required
  - `next_cursor` string, nullable, required

## Other responses

- `401`: Authentication required.
- `2XX`: Successful response. Exact status depends on synchronous or durable delivery outcome.
- `4XX`: Structured failure. `error.code` is stable; `error.request_id` is echoed in the x-cave-request-id header.
- `5XX`: Structured failure. `error.code` is stable; `error.request_id` is echoed in the x-cave-request-id header.

---

[API](https://skmtc.dev/caveman/apis/caveman-cloud-api.md) - [All operations](https://skmtc.dev/caveman/apis/caveman-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caveman/apis/caveman-cloud-api/revisions/508312d01cfc?raw)
