用户配置文件
创建用户配置文件
列出用户配置文件
获取用户配置文件
更新用户配置文件
创建注册 URL
Models
BetaUserProfile object{ type: "user_profile", id, created_at, 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 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.
BetaUserProfileEnrollmentURL object{ type: "enrollment_url", expires_at, url }A URL to give to the entity that a user profile represents, so that the entity can enroll for a trust grant.
A URL to give to the entity that a user profile represents, so that the entity can enroll for a trust grant.
Object type. Always enrollment_url.
expires_at: stringWhen this enrollment URL expires, in RFC 3339 format.
When this enrollment URL expires, in RFC 3339 format.
Enrollment URL to send to the end user. Valid until expires_at.
BetaUserProfileExternalUserDetails object{ account_status, country, email_hash, 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.
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.
BetaUserProfileExternalUserDetailsParams object{ account_status, country, email_hash, 4 more }
BetaUserProfileTrustGrant object{ status }The status of one trust grant on a user profile, listed in the profile's trust_grants map under the grant's name.
The status of one trust grant on a user profile, listed in the profile's trust_grants map under the grant's name.
status: "active" or "pending" or "rejected"Status of the trust grant.
Status of the trust grant.