# User ## Retrieve the current user `user.retrieve() -> UserRetrieveResponse` **get** `/v0/user` Retrieve the currently authenticated user's information. ### Returns - `class UserRetrieveResponse` - `id: String` - `email: String` - `github: { username}` - `username: String` - `name: String` - `object: :user` - `:user` ### Example ```ruby require "stainless_v0" stainless = StainlessV0::Client.new( api_key: "My API Key", environment: "staging" # defaults to "production" ) user = stainless.user.retrieve puts(user) ``` #### Response ```json { "id": "id", "email": "email", "github": { "username": "username" }, "name": "name", "object": "user" } ``` ## Domain Types ### User Retrieve Response - `class UserRetrieveResponse` - `id: String` - `email: String` - `github: { username}` - `username: String` - `name: String` - `object: :user` - `:user`