## Retrieve the current user `user.retrieve() -> UserRetrieveResponse` **get** `/v0/user` Retrieve the currently authenticated user's information. ### Returns - `class UserRetrieveResponse: …` - `id: str` - `email: Optional[str]` - `github: Optional[GitHub]` - `username: str` - `name: Optional[str]` - `object: Literal["user"]` - `"user"` ### Example ```python import os from stainless_v0 import Stainless client = Stainless( api_key=os.environ.get("STAINLESS_API_KEY"), # This is the default and can be omitted ) user = client.user.retrieve() print(user.id) ``` #### Response ```json { "id": "id", "email": "email", "github": { "username": "username" }, "name": "name", "object": "user" } ```