---
title: "Inspect the authenticated principal"
method: GET
path: "/v1/me"
tags: ["identity"]
---

# Inspect the authenticated principal

`GET /v1/me`

## Request

- Base URL: `https://api.runx.ai`
- URL: `https://api.runx.ai/v1/me`
- Auth: HTTP bearer

## Response `200`

Authenticated principal.

- PrincipalEnvelope
  - `status` 'success', required
  - `principal` PrincipalSummary, required
    - `principal_id` string, required
    - `role` 'user' | 'admin' | 'service', required
    - `display_name` string
    - `scopes` string[]
    - `namespace_prefixes` string[]

## Other responses

- `401`: Unauthorized.

---

[API](https://skmtc.dev/runx/apis/runx-hosted-api.md) · [All operations](https://skmtc.dev/runx/apis/runx-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/runx/apis/runx-hosted-api/revisions/6c940d8edacc?raw)
