API Reference
Get current user
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
responseobject3 properties
idintegerusernamestringrolestringError responses
401Not authenticated
Not authenticated
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "AUTH_ERROR",
"message": "Not authenticated"
}