Claude Platform Docs

Профили пользователей

Регистрируйте конечных клиентов, которых обслуживает ваша платформа, чтобы в каждом запросе можно было указать, для кого он предназначен. Чтобы начать, см. руководство по профилям пользователей.

Создать профиль пользователя
$ ant beta:user-profiles create
POST/v1/user_profiles

Зарегистрируйте одного из своих конечных клиентов и получите ID, который нужно отправлять в запросах, выполняемых от его имени.

Список профилей пользователей
$ ant beta:user-profiles list
GET/v1/user_profiles

Получите список профилей пользователей в вашей организации; по умолчанию сначала идут самые новые.

Получить профиль пользователя
$ ant beta:user-profiles retrieve
GET/v1/user_profiles/{user_profile_id}

Получите профиль пользователя по ID, чтобы проверить сохранённые для него сведения.

Обновить профиль пользователя
$ ant beta:user-profiles update
POST/v1/user_profiles/{user_profile_id}

Обновите сведения в профиле пользователя; поля, которые вы не отправляете, остаются без изменений.

Удалить профиль пользователя
$ ant beta:user-profiles delete
DELETE/v1/user_profiles/{user_profile_id}

Удалите профиль пользователя, например когда конечный клиент закрывает свою учётную запись.

Создать URL регистрации
$ ant beta:user-profiles create-enrollment-url
POST/v1/user_profiles/{user_profile_id}/enrollment_url

В Claude Platform on AWS создайте ссылку, которая направляет конечного клиента профиля на Verification Portal.

Models
beta_deleted_user_profile: object{ type: "user_profile_deleted", id }
type: "user_profile_deleted"

Object type. Always user_profile_deleted.

id: string

Identifier of the deleted user profile, prefixed uprof_.

beta_user_profile: 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 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.

beta_user_profile_enrollment_url: 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 in a program.

type: "enrollment_url"

Object type. Always enrollment_url.

expires_at: string

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.

beta_user_profile_external_user_details: 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.

beta_user_profile_external_user_details_params: object{ account_status, country, email_hash, 4 more }
beta_user_profile_trust_grant: 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.

status: "active" or "pending" or "rejected"

Status of the trust grant.

One of the following:
"active"
"pending"
"rejected"

Профили пользователейURL действий

Создать URL действия
$ ant beta:user-profiles:action-urls create
POST/v1/user_profiles/{user_profile_id}/action_urls

Создайте ссылку, которая направляет конечного клиента профиля на Verification Portal.

Профили пользователейПоставщикиGoogleСредства управления данными

Получить средства управления данными (Google managed)
$ ant beta:user-profiles:providers:google:data-controls retrieve
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.

Возвращает ключи шифрования и бакеты хранилища профиля для Claude в Google Cloud's Agent Platform со статусом каждого региона.

Обновить средства управления данными (Google managed)
$ ant beta:user-profiles:providers:google:data-controls update
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.

Включает или отключает средство управления либо изменяет ключ или бакет, заданный для региона. Средства управления и регионы, которые вы не указали, остаются без изменений.