> ## Documentation Index
> Fetch the complete documentation index at: https://docs.masterskills.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Identity

> GET /me — the user, organizations, and device behind a token.

## `GET /me`

Who the device token belongs to. Also what `masterskills whoami` prints.

```json theme={"dark"}
// 200
{
  "user": { "id": "…", "name": "Dev Eloper", "email": "dev@acme.com", "username": null },
  "orgs": [
    { "slug": "acme", "name": "Acme", "kind": "team", "plan": "team", "role": "member" }
  ],
  "homeOrg": { "slug": "acme" },
  "device": { "id": "…", "name": "devbox-01", "lastSeenAt": "2026-08-12T09:30:00Z" }
}
```

* `orgs` — every organization the user belongs to, with plan and role. Catalog reads span all of them.
* `homeOrg` — the organization chosen at device approval; the default publish namespace and the device's plan anchor.
* `user.username` is always `null` — MasterSkills is org-only; personal namespaces don't exist.

A `401` means the token is invalid or the device was revoked.
