---
title: "Get the current authenticated user + active tenant"
method: GET
path: "/auth/me"
tags: ["Auth"]
---

# Get the current authenticated user + active tenant

`GET /auth/me`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/auth/me`
- Auth: API key in cookie `token`

## Response `200`

Current session identity.

- MeResponse
  - `user` object
    - `id` integer
    - `email` string, email
    - `role` 'owner' | 'admin' | 'member'
    - `isSuperAdmin` boolean
    - `emailVerified` boolean
    - `createdAt` string, date-time
    - `defaultWorkspace` string, nullable
  - `tenant` object
    - `id` integer
    - `name` string
    - `slug` string
    - `plan` string
    - `createdAt` string, date-time
    - `externalLlmDisabled` boolean
    - `externalEmbeddingDisabled` boolean
    - `maintenanceMode` boolean
  - `impersonating` object, nullable
    - `original_user_id` integer
    - `original_tenant_id` integer
    - `original_tenant_slug` string, nullable
    - `original_tenant_name` string, nullable

## Other responses

- `401`: Missing or invalid credentials.

---

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