Claude Platform Docs

ユーザープロファイル

プラットフォームがサービスを提供するエンドカスタマーを登録し、各リクエストで対象者を指定できるようにします。始めるには、ユーザープロファイルガイドを参照してください。

ユーザープロファイルを作成
BetaUserProfile beta().userProfiles().create(params = UserProfileCreateParams.none(), requestOptions = RequestOptions.none())
POST/v1/user_profiles

エンドカスタマーを1つ登録し、そのエンドカスタマーのために行うリクエストで送信するIDを取得します。

ユーザープロファイルの一覧を取得
UserProfileListPage beta().userProfiles().list(params = UserProfileListParams.none(), requestOptions = RequestOptions.none())
GET/v1/user_profiles

組織内のユーザープロファイルの一覧を取得します。デフォルトでは新しい順に並びます。

ユーザープロファイルを取得
BetaUserProfile beta().userProfiles().retrieve(params = UserProfileRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/user_profiles/{user_profile_id}

IDを指定してユーザープロファイルを取得し、保存されている詳細情報を確認します。

ユーザープロファイルを更新
BetaUserProfile beta().userProfiles().update(params = UserProfileUpdateParams.none(), requestOptions = RequestOptions.none())
POST/v1/user_profiles/{user_profile_id}

ユーザープロファイルの詳細情報を変更します。送信しないフィールドはそのまま保持されます。

ユーザープロファイルを削除
BetaDeletedUserProfile beta().userProfiles().delete(params = UserProfileDeleteParams.none(), requestOptions = RequestOptions.none())
DELETE/v1/user_profiles/{user_profile_id}

エンドカスタマーがアカウントを閉鎖した場合などに、ユーザープロファイルを削除します。

登録 URL を作成
BetaUserProfileEnrollmentUrl beta().userProfiles().createEnrollmentUrl(params = UserProfileCreateEnrollmentUrlParams.none(), requestOptions = RequestOptions.none())
POST/v1/user_profiles/{user_profile_id}/enrollment_url

Claude Platform on AWSでは、プロファイルのエンドカスタマーをVerification Portalに誘導するリンクを作成します。

Models
class BetaDeletedUserProfile { type = "user_profile_deleted"; id; }
JsonValue type = "user_profile_deleted"

Object type. Always user_profile_deleted.

String id

Identifier of the deleted user profile, prefixed uprof_.

class BetaUserProfile { 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.

class BetaUserProfileEnrollmentUrl { 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.

JsonValue type = "enrollment_url"

Object type. Always enrollment_url.

OffsetDateTime expiresAt

When this enrollment URL expires, in RFC 3339 format.

formatdate-time
String url

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

class BetaUserProfileExternalUserDetails { 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.

class BetaUserProfileExternalUserDetailsParams { accountStatus; country; emailHash; /* 4 more */ }
class BetaUserProfileTrustGrant { 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 status

Status of the trust grant.

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

ユーザープロファイルアクションURL

アクションURLを作成
BetaUserProfileActionUrl beta().userProfiles().actionUrls().create(params, requestOptions = RequestOptions.none())
POST/v1/user_profiles/{user_profile_id}/action_urls

プロファイルのエンドカスタマーをVerification Portalに誘導するリンクを作成します。

ユーザープロファイルプロバイダーGoogleデータコントロール

Google managedデータコントロールを取得
BetaGoogleManagedDataControls beta().userProfiles().providers().google().dataControls().retrieve(params = DataControlRetrieveParams.none(), requestOptions = RequestOptions.none())
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データコントロールを更新
BetaGoogleManagedDataControls beta().userProfiles().providers().google().dataControls().update(params = DataControlUpdateParams.none(), requestOptions = RequestOptions.none())
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.

コントロールをオンまたはオフにするか、リージョンに設定されたキーまたはバケットを変更します。指定しなかったコントロールとリージョンはそのまま維持されます。