## Retrieve the current user `client.user.retrieve(RequestOptionsoptions?): UserRetrieveResponse` **get** `/v0/user` Retrieve the currently authenticated user's information. ### Returns - `UserRetrieveResponse` - `id: string` - `email: string | null` - `github: GitHub | null` - `username: string` - `name: string | null` - `object: "user"` - `"user"` ### Example ```typescript import Stainless from '@stainless-api/sdk'; const client = new Stainless({ apiKey: process.env['STAINLESS_API_KEY'], // This is the default and can be omitted }); const user = await client.user.retrieve(); console.log(user.id); ``` #### Response ```json { "id": "id", "email": "email", "github": { "username": "username" }, "name": "name", "object": "user" } ```