---
title: "Get the authenticated user"
method: GET
path: "/v1/user"
tags: ["users"]
---

# Get the authenticated user

`GET /v1/user`

Returns the profile of the currently authenticated user. When authentication is disabled, returns an anonymous user representation.

## Response `200`

The authenticated user's profile.

- GetViewerResponseBody
  - `data` union, required
    - LocalUser
      - `id` string, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `email` string, required
      - `username` string, required
      - `role` 'SYSTEM' | 'ADMIN' | 'MEMBER' | 'VIEWER', required
      - `auth_method` 'LOCAL', required
      - `password` string
      - `password_needs_reset` boolean, required
    - OAuth2User
      - `id` string, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `email` string, required
      - `username` string, required
      - `role` 'SYSTEM' | 'ADMIN' | 'MEMBER' | 'VIEWER', required
      - `auth_method` 'OAUTH2', required
      - `oauth2_client_id` string
      - `oauth2_user_id` string
      - `profile_picture_url` string
    - LDAPUser
      - `id` string, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `email` string, required
      - `username` string, required
      - `role` 'SYSTEM' | 'ADMIN' | 'MEMBER' | 'VIEWER', required
      - `auth_method` 'LDAP', required
    - AnonymousUser
      - `auth_method` 'ANONYMOUS', required

## Other responses

- `401` — User not found.
- `403` — Forbidden

---

[API](https://skmtc.net/arize-ai/apis/arize-phoenix-rest-api.md) · [All operations](https://skmtc.net/arize-ai/apis/arize-phoenix-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arize-ai/arize-phoenix-rest-api/revisions/a14d8ad6f708/schema)
