用户配置文件
注册您的平台所服务的终端客户,以便每个请求都能注明其服务对象。要开始使用,请参阅用户配置文件指南。
创建用户配置文件
beta.user_profiles.create(**kwargs) -> BetaUserProfilePOST/v1/user_profiles
注册您的一位终端客户,并获取在您代表其发出的请求中需要发送的 ID。
列出用户配置文件
beta.user_profiles.list(**kwargs) -> PageCursor<BetaUserProfile>GET/v1/user_profiles
列出您组织中的用户配置文件,默认按从新到旧排列。
获取用户配置文件
beta.user_profiles.retrieve(user_profile_id, **kwargs) -> BetaUserProfileGET/v1/user_profiles/{user_profile_id}
按 ID 获取用户配置文件,以查看为其存储的详细信息。
更新用户配置文件
beta.user_profiles.update(user_profile_id, **kwargs) -> BetaUserProfilePOST/v1/user_profiles/{user_profile_id}
更改用户配置文件的详细信息,您未发送的字段将保持不变。
删除用户配置文件
beta.user_profiles.delete(user_profile_id, **kwargs) -> BetaDeletedUserProfileDELETE/v1/user_profiles/{user_profile_id}
删除用户配置文件,例如在终端客户关闭其账户时。
创建注册 URL
beta.user_profiles.create_enrollment_url(user_profile_id, **kwargs) -> BetaUserProfileEnrollmentURLPOST/v1/user_profiles/{user_profile_id}/enrollment_url
从 Claude Platform on AWS 创建一个链接,将该配置文件对应的终端客户引导至 Verification Portal。
Models
用户配置文件操作 URL
创建操作 URL
beta.user_profiles.action_urls.create(user_profile_id, **kwargs) -> BetaUserProfileActionURLPOST/v1/user_profiles/{user_profile_id}/action_urls
创建一个链接,将该配置文件对应的终端客户引导至 Verification Portal。
用户配置文件提供商Google数据控制
获取 Google-Managed 数据控制
beta.user_profiles.providers.google.data_controls.retrieve(user_profile_id, **kwargs) -> BetaGoogleManagedDataControlsGET/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 数据控制
beta.user_profiles.providers.google.data_controls.update(user_profile_id, **kwargs) -> BetaGoogleManagedDataControlsPOST/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.开启或关闭某项控制,或更改某个区域所设置的密钥或存储桶。您未包含的控制和区域将保持不变。