Claude Platform Docs

사용자 프로필

플랫폼이 서비스하는 최종 고객을 등록하여 각 요청이 누구를 위한 것인지 지정할 수 있도록 합니다. 시작하려면 사용자 프로필 가이드를 참조하세요.

사용자 프로필 생성
client.Beta.UserProfiles.New(ctx, params) (*BetaUserProfile, error)
POST/v1/user_profiles

최종 고객 중 한 명을 등록하고, 해당 고객을 위해 보내는 요청에 포함할 ID를 받습니다.

사용자 프로필 목록 조회
client.Beta.UserProfiles.List(ctx, params) (*PageCursor[BetaUserProfile], error)
GET/v1/user_profiles

조직의 사용자 프로필 목록을 조회합니다. 기본적으로 최신순으로 정렬됩니다.

사용자 프로필 조회
client.Beta.UserProfiles.Get(ctx, userProfileID, query) (*BetaUserProfile, error)
GET/v1/user_profiles/{user_profile_id}

ID로 사용자 프로필을 조회하여 저장된 세부 정보를 확인합니다.

사용자 프로필 업데이트
client.Beta.UserProfiles.Update(ctx, userProfileID, params) (*BetaUserProfile, error)
POST/v1/user_profiles/{user_profile_id}

사용자 프로필의 세부 정보를 변경합니다. 보내지 않은 필드는 그대로 유지됩니다.

사용자 프로필 삭제
client.Beta.UserProfiles.Delete(ctx, userProfileID, body) (*BetaDeletedUserProfile, error)
DELETE/v1/user_profiles/{user_profile_id}

사용자 프로필을 삭제합니다. 예를 들어 최종 고객이 계정을 해지한 경우에 사용합니다.

등록 URL 생성
client.Beta.UserProfiles.NewEnrollmentURL(ctx, userProfileID, body) (*BetaUserProfileEnrollmentURL, error)
POST/v1/user_profiles/{user_profile_id}/enrollment_url

Claude Platform on AWS에서는 프로필의 최종 고객을 Verification Portal로 보내는 링크를 생성합니다.

Models
type BetaDeletedUserProfile struct { Type: "user_profile_deleted"; ID }
Type UserProfileDeleted

Object type. Always user_profile_deleted.

ID string

Identifier of the deleted user profile, prefixed uprof_.

type BetaUserProfile struct { Type: "user_profile"; ID; CreatedAt; /* 8 more */ }

A record of an entity that the platform serves through the API, such as an end-user of the platform's product or a company that the platform resells Claude access to.

A Messages, Message Batches or token counting request can send a profile's id in the anthropic-user-profile-id header to attribute the request to that entity.

type BetaUserProfileEnrollmentURL struct { Type: "enrollment_url"; ExpiresAt; URL }

A URL to give to the entity that a user profile represents, so that the entity can enroll in a program.

Type EnrollmentURL

Object type. Always enrollment_url.

ExpiresAt Time

When this enrollment URL expires, in RFC 3339 format.

formatdate-time
URL string

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

type BetaUserProfileExternalUserDetails struct { AccountStatus; Country; EmailHash; /* 4 more */ }

Details about the entity this profile represents, as the platform states them. Anthropic does not verify them. Every field is present, null until the platform supplies a value.

type BetaUserProfileExternalUserDetailsParams struct { AccountStatus; Country; EmailHash; /* 4 more */ }
type BetaUserProfileTrustGrant struct { Status }

The status of one trust grant on a user profile, listed in the profile's trust_grants map under the grant's name.

Status BetaUserProfileTrustGrantStatus

Status of the trust grant.

One of the following:
const BetaUserProfileTrustGrantStatusActive BetaUserProfileTrustGrantStatus = "active"
const BetaUserProfileTrustGrantStatusPending BetaUserProfileTrustGrantStatus = "pending"
const BetaUserProfileTrustGrantStatusRejected BetaUserProfileTrustGrantStatus = "rejected"

사용자 프로필작업 URL

작업 URL 생성
client.Beta.UserProfiles.ActionURLs.New(ctx, userProfileID, params) (*BetaUserProfileActionURL, error)
POST/v1/user_profiles/{user_profile_id}/action_urls

프로필의 최종 고객을 Verification Portal로 보내는 링크를 생성합니다.

사용자 프로필제공업체Google데이터 제어

Google managed 데이터 제어 조회
client.Beta.UserProfiles.Providers.Google.DataControls.Get(ctx, userProfileID, query) (*BetaGoogleManagedDataControls, error)
GET/v1/user_profiles/{user_profile_id}/providers/google/data_controls
Requires anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.

Google Cloud's Agent Platform의 Claude에 대한 프로필의 암호화 키와 스토리지 버킷을 각 리전의 상태와 함께 가져옵니다.

Google managed 데이터 제어 업데이트
client.Beta.UserProfiles.Providers.Google.DataControls.Update(ctx, userProfileID, params) (*BetaGoogleManagedDataControls, error)
POST/v1/user_profiles/{user_profile_id}/providers/google/data_controls
Requires anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.

제어를 켜거나 끄거나, 리전에 설정된 키 또는 버킷을 변경합니다. 생략한 제어와 리전은 그대로 유지됩니다.