API reference
Session
Who is signed in, and which workspaces they belong to.
GET
/v1/meThe signed-in user and their workspaces
Needs: A signed-in panel session, sent as Authorization: Bearer <access token>.
| Status | Body | When |
|---|---|---|
| 200 | MeResponseDto | |
| 401 | — | Missing or invalid access token |
| Field | Type | What it is |
|---|---|---|
| user required | MeUserDto | |
| user.id required | string | |
| user.email required | string | |
| user.emailVerified required | string | null | ISO timestamp of email verification, or null if unverified. |
| organizations required | MeOrganizationDto[] | |
| organizations[].id required | string | |
| organizations[].name required | string | |
| organizations[].slug required | string | |
| organizations[].plan required | string | |
| organizations[].trialEndsAt required | string | null | When a demo workspace stops working (ISO-8601). Null on paid plans. |
| organizations[].cancelAt required | string | null | When the workspace's subscription is set to end instead of renewing (ISO-8601), because a cancellation was scheduled in the billing portal. Null while it renews. |
| organizations[].role required | "owner" | "admin" | "editor" | "analyst" | "viewer" | The caller's role in this organization. |
| organizations[].permissions required | PermissionsDto | The caller's permission matrix for this organization (derived from role). |
| organizations[].scope required | MemberScopeDto[] | null | The clients the caller is limited to in this workspace, or null for access to the whole workspace. |
| features required | FeaturesDto |
Next groupSign-in