Start typing to search.

API Reference

Get current user

View Markdown
GET /api/auth/me

Returns the current user from the browser session. Does not support API key auth.

Operation IDgetCurrentUser

Authentication

This browser-only endpoint is not available to API-key clients.

Success response body

200Current user info

Current user info

Content typeapplication/json

responseobject
3 properties
idinteger
usernamestring
rolestring

Error responses

401Not authenticated

Not authenticated

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "AUTH_ERROR",
  "message": "Not authenticated"
}