---
title: "List the caller's org memberships."
method: GET
path: "/v1/me/orgs"
tags: ["auth"]
---

# List the caller's org memberships.

`GET /v1/me/orgs`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/me/orgs`
- Auth: one of:
  - API key in cookie `dvt_session`
  - HTTP bearer

Returns all active organization memberships for the calling user — the list used to populate the org-switcher (DVT-773). Each entry carries the org ID, name, and the caller's role in that org. Only active memberships in live (active, non-deleted) organizations are returned, ordered oldest-first.

## Response `200`

The caller's active org memberships, oldest first.

- object
  - `data` OrgMembership[]
    - `orgId` string, uuid, required: The organization's unique identifier.
    - `name` string, required: The organization's display name.
    - `role` 'viewer' | 'editor' | 'admin' | 'owner', required: The caller's role in this organization.
    - `slug` string, required: URL segment for path-based org routes (/o/{slug}, DVT-923/DVT-927). Stable once assigned. Empty string only for a pre-backfill org not yet healed — clients fall back to the org UUID.
  - `meta` Meta: Response metadata.
    - `requestId` string, required: Correlates with the X-Request-Id header.
    - `total` integer: Item count, present on collection responses.
    - `nextCursor` string, nullable: Opaque keyset-pagination cursor, present on paginated responses (e.g. GET /v1/dashboards) when more rows exist beyond this page. Pass it back as the `cursor` query param to fetch the next page; absent or null on the last page.
    - `roleResolveDegraded` boolean: Snowflake mode only (DVT-2260), on GET /v1/dashboards: present and true when the caller's live Snowflake role resolution failed or was unavailable — role-shared dashboards may be missing from this page. Omitted (not merely false) whenever resolution succeeded or the role-share arm does not apply (off snowflake mode, an org admin/owner, or off the ingress listener).

## Other responses

- `401`: Missing, invalid, or expired session.

---

[API](https://skmtc.dev/dvt/apis/dvt-rest-api.md) · [All operations](https://skmtc.dev/dvt/apis/dvt-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dvt/apis/dvt-rest-api/revisions/00016f504165?raw)
