Get Current User
GET
/auth/me
Get current authenticated user profile.
Requires Authorization: Bearer {token} header.
Args: authorization: Authorization header db: Database session
Returns: Current user profile with roles and permissions
Raises: 401: Invalid or missing token
Responses
Section titled “ Responses ”Successful Response
Unauthorized
ErrorResponse
Error response.
object
error
required
Error
Error code
string
message
required
Message
Error message
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context