Endpoint
GET/v1/auth/me
Authentication: Bearer API key
Response
string
Unique user identifier.
string
Registered username.
string
User’s email address.
string
User role. One of:
admin, user.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve the current PIN user’s profile, including id, username, email, and role. Requires a valid Bearer API key.
/v1/auth/me
Authentication: Bearer API key
admin, user.curl -H "Authorization: Bearer $ARIA_PIN_KEY" \
http://localhost:8001/v1/auth/me
{
"id": "usr_2vPqN9xL5wR8",
"username": "alice",
"email": "[email protected]",
"role": "admin"
}
Was this page helpful?