Skip to main content
GET
/
user
/
me
Get current user
curl --request GET \
  --url https://app.gloriagent.ai//api/user/me \
  --header 'Authorization: Bearer <token>'
{
  "name": "John Doe",
  "email": "john.doe@example.com",
  "total_balance": 125.50
}

Documentation Index

Fetch the complete documentation index at: https://docs.gloriagent.ai/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint returns the profile information for the currently authenticated user, including their account balance.

Response

name
string
The user’s full name
email
string
The user’s email address
total_balance
number
The user’s current account balance in USD
{
  "name": "John Doe",
  "email": "john.doe@example.com",
  "total_balance": 125.50
}

Use Cases

This endpoint is useful for:
  • Verifying authentication - Confirm the API key is valid and belongs to the expected user
  • Checking account balance - Monitor available credits before making API calls
  • Displaying user info - Show the current user in your application’s UI