> ## 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 /api/auth/me — get the current user profile

> Return the profile of the account tied to the session token, including 2FA status and account creation date. Requires a session Bearer token.

Return the profile of the account tied to the session token in the `Authorization` header. Use this to bootstrap the dashboard UI after sign-in or to verify a token is still valid.

**Method:** `GET` **Path:** `/api/auth/me` **Auth:** Session Bearer

## Response

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

<ResponseField name="email" type="string">
  Email address, if set.
</ResponseField>

<ResponseField name="phone" type="string">
  Phone number, if set.
</ResponseField>

<ResponseField name="name" type="string">
  Display name.
</ResponseField>

<ResponseField name="avatar_url" type="string">
  Profile picture URL.
</ResponseField>

<ResponseField name="two_factor_enabled" type="boolean">
  Whether 2FA is enabled.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp.
</ResponseField>

<ResponseField name="updated_at" type="string">
  ISO 8601 timestamp.
</ResponseField>

## Example

```bash theme={null}
curl -H "Authorization: Bearer eyJhbGciOi..." \
  https://ariacompute.com/api/auth/me
```

```json theme={null}
{
  "id": "usr_01H...",
  "email": "you@example.com",
  "name": "Jane",
  "two_factor_enabled": true,
  "created_at": "2026-01-14T09:30:00Z",
  "updated_at": "2026-09-20T15:12:00Z"
}
```

## Errors

| Status | Meaning                           |
| ------ | --------------------------------- |
| `401`  | Missing or invalid session token. |


## Related topics

- [Get started with Aria Compute in minutes](/quickstart.md)
- [POST /api/auth/register/email — create account with email](/api-reference/auth/register-email.md)
- [GET /api/billing/wallet — current wallet balance](/api-reference/billing/wallet.md)
- [GET /api/billing/payments/{id} — get payment status](/api-reference/billing/payments-get.md)
- [Authenticate requests to the Aria Compute API](/authentication.md)
