Claude Platform Docs

User Profiles

Create User Profile
BetaUserProfile beta().userProfiles().create(UserProfileCreateParamsparams = UserProfileCreateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/user_profiles
List User Profiles
UserProfileListPage beta().userProfiles().list(UserProfileListParamsparams = UserProfileListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/user_profiles
Get User Profile
BetaUserProfile beta().userProfiles().retrieve(UserProfileRetrieveParamsparams = UserProfileRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/user_profiles/{user_profile_id}
Update User Profile
BetaUserProfile beta().userProfiles().update(UserProfileUpdateParamsparams = UserProfileUpdateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/user_profiles/{user_profile_id}
Create Enrollment URL
BetaUserProfileEnrollmentUrl beta().userProfiles().createEnrollmentUrl(UserProfileCreateEnrollmentUrlParamsparams = UserProfileCreateEnrollmentUrlParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/user_profiles/{user_profile_id}/enrollment_url
Models
class BetaUserProfile:
class BetaUserProfileEnrollmentUrl:
LocalDateTime expiresAt

A timestamp in RFC 3339 format

formatdate-time
Type type

Object type. Always enrollment_url.

String url

Enrollment URL to send to the end user. Valid until expires_at.

class BetaUserProfileTrustGrant:
Status status

Status of the trust grant.

One of the following:
ACTIVE("active")
PENDING("pending")
REJECTED("rejected")