---
title: "Get Me"
method: GET
path: "/v1/me"
tags: ["sdk-v1"]
---

# Get Me

`GET /v1/me`

Probe the user identity bound to the caller's personal key.

## Response `200`

Successful Response

- MeResponse — Response model for ``GET /v1/me``.
  - `principal_type` string — Authenticated principal.
  - `user_id` integer, required — User bound to the presented personal key.
  - `username` string, required — User's unique login name.
  - `email` string, nullable — User's email address, or null if unset.
  - `key_prefix` string, required — Public-safe 6-char lookup handle of the presented key. Lets the SDK log which key is in use without exposing the secret.

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
