## Get User Details

`client.user.get(RequestOptionsoptions?): User`

**get** `/v1/user`

Get details about an authenticated user

### Returns

- `User`

  User details.

  - `id: string`

    Unique identifier for the User.

  - `email: string`

    Email address of the user.

  - `first_name: string | null`

    First name of the user.

  - `last_name: string | null`

    Last name of the user.

### Example

```typescript
import NirvanaLabs from '@nirvana-labs/nirvana';

const client = new NirvanaLabs({
  apiKey: process.env['NIRVANA_LABS_API_KEY'], // This is the default and can be omitted
});

const user = await client.user.get();

console.log(user.id);
```

#### Response

```json
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "satoshi@nirvanalabs.io",
  "first_name": "Satoshi",
  "last_name": "Nakamoto"
}
```
