Get the current user
GET/api/me
Who you are signed in as. Accepts an API key or a session cookie; OAuth access tokens work only on /mcp. Available only when sign-in is enabled.
Authorizations
Authorizationstringheaderrequired
Needed only when the instance has sign-in enabled (PULLMD_AUTH_MODE is single-admin or multi-user). Send Bearer pmd_<key> with an API key created at /settings. In single-admin mode, the legacy PULLMD_AUTH_TOKEN is also accepted as a bearer token. OAuth access tokens work only on /mcp. Browser sessions use the pullmd_session cookie instead.
Response
200 · application/jsonThe signed-in user.
idinteger
User id.
emailstring
The user's email address.
is_adminboolean
true for the admin account.