# User ## Retrieve the current user **get** `/v0/user` Retrieve the currently authenticated user's information. ### Returns - `id: string` - `email: string` - `github: object { username }` - `username: string` - `name: string` - `object: "user"` - `"user"` ### Example ```http curl https://api.stainless.com/v0/user \ -H "Authorization: Bearer $STAINLESS_API_KEY" ``` #### Response ```json { "id": "id", "email": "email", "github": { "username": "username" }, "name": "name", "object": "user" } ``` ## Domain Types ### User Retrieve Response - `UserRetrieveResponse = object { id, email, github, 2 more }` - `id: string` - `email: string` - `github: object { username }` - `username: string` - `name: string` - `object: "user"` - `"user"`