/api/meReturns the signed-in user. Use this from external tooling to check that a stored cookie is still valid.
- Auth
- Signed-in session required (401 if anonymous)
Response shape
user.idstringStable user id (matches the dashboard session).user.emailstringEmail address on the account.user.namestring | nullDisplay name, or null when unset.
Errors
401 — No valid session cookie. Sign in via /login or /api/auth/* and retry.
{ "error": "Unauthorized" }