> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /v1/auth/me: PIN Current User

> Retrieve the current PIN user's profile, including id, username, email, and role. Requires a valid Bearer API key.

Fetch the profile of the user associated with the provided Bearer API key. This is useful for verifying key validity and checking user permissions.

## Endpoint

**GET** `/v1/auth/me`

Authentication: Bearer API key

## Response

<ResponseField name="id" type="string">
  Unique user identifier.
</ResponseField>

<ResponseField name="username" type="string">
  Registered username.
</ResponseField>

<ResponseField name="email" type="string">
  User's email address.
</ResponseField>

<ResponseField name="role" type="string">
  User role. One of: `admin`, `user`.
</ResponseField>

## Example

```bash theme={null}
curl -H "Authorization: Bearer $ARIA_PIN_KEY" \
  http://localhost:8001/v1/auth/me
```

```json theme={null}
{
  "id": "usr_2vPqN9xL5wR8",
  "username": "alice",
  "email": "alice@example.com",
  "role": "admin"
}
```


## Related topics

- [POST /v1/auth/login: PIN User Login](/api-reference/pin/auth/login.md)
- [POST /v1/auth/register: PIN User Registration](/api-reference/pin/auth/register.md)
- [Get Current Aria Compute ROUTER User](/api-reference/router/auth/me.md)
- [GET /v1/apikeys: List PIN API Keys](/api-reference/pin/apikeys/list.md)
- [Get started with Aria Compute in minutes](/quickstart.md)
