Skip to main content
GET
/
v1
/
user
/
{user_id}
Get user
curl --request GET \
  --url https://api.braintrust.dev/v1/user/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "given_name": "<string>",
  "family_name": "<string>",
  "email": "<string>",
  "avatar_url": "<string>",
  "created": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.

Path Parameters

user_id
string<uuid>
required

User id

Response

Returns the user object

id
string<uuid>
required

Unique identifier for the user

given_name
string | null

Given name of the user

family_name
string | null

Family name of the user

email
string | null

The user's email

avatar_url
string | null

URL of the user's Avatar image

created
string<date-time> | null

Date of user creation