curl --request GET \
--url https://api.example.com/api/auth/me{
"success": true,
"data": {
"id": "<string>",
"email": "<string>",
"display_name": {},
"role": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"github_username": {},
"gitlab_username": {}
}
}Retrieve the currently authenticated user information
curl --request GET \
--url https://api.example.com/api/auth/me{
"success": true,
"data": {
"id": "<string>",
"email": "<string>",
"display_name": {},
"role": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"github_username": {},
"gitlab_username": {}
}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/iamngoni/heimdall/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <token> header, orheimdall_session cookiecurl https://heimdall.example.com/api/auth/me \
-H "Authorization: Bearer <your_session_token>"
true for successful requestsShow properties
{
"success": true,
"data": {
"id": "01932e4a-7b2c-7890-abcd-1234567890ab",
"email": "alice@example.com",
"display_name": "Alice",
"role": "user",
"created_at": "2026-03-10T10:30:00Z",
"updated_at": "2026-03-12T15:45:00Z",
"github_username": "alice",
"gitlab_username": null
}
}
401 Unauthorized - No token
{
"success": false,
"error": {
"code": 401,
"message": "Authentication required"
}
}
401 Unauthorized - Invalid token
{
"success": false,
"error": {
"code": 401,
"message": "Invalid or expired session"
}
}
500 Internal Server Error
{
"success": false,
"error": {
"code": 500,
"message": "Internal server error"
}
}