---
title: "Get Current User Info"
method: GET
path: "/api/v1/auth/me"
tags: ["authentication"]
---

# Get Current User Info

`GET /api/v1/auth/me`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/auth/me`
- Auth: none declared

Get current authenticated user info.

Issue #252: Now uses require_session_auth (Session-only, no API keys).

Args:
    user: Current user from session (via require_session_auth)
    db: Database session

Returns:
    User information from session + database (wrapped in "user" object for frontend compatibility)

Raises:
    HTTPException:
        - 401 if not authenticated
        - 403 if API key is provided

Example:
    GET /api/v1/auth/me
    Cookie: kagura_session=...
    Response: {
        "user": {
            "id": "google_123",
            "email": "user@example.com",
            "name": "Example User",
            "role": "admin",
            "current_workspace_id": "uuid..."
        }
    }

Note:
    Frontend expects {user: {...}} format (Issue #664).
    Response wrapped in "user" object for compatibility.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
