Skip to main content
GET
/
v1
/
users
/
{user_id}
cURL
curl --request GET \
--url https://api.baseten.co/v1/users/{user_id} \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "user_id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "workspace_name": "<string>"
}

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Path Parameters

user_id
string
required

Response

200 - application/json

A Baseten user.

user_id
string
required

Unique identifier for the user

email
string | null

Email address of the user

name
string | null

Display name of the user

workspace_name
string | null

Name of the user's workspace