Claude Platform Docs

Profil Pengguna

Daftarkan pelanggan akhir yang dilayani platform Anda, sehingga setiap permintaan dapat menyebutkan untuk siapa permintaan tersebut ditujukan. Untuk memulai, lihat panduan profil pengguna.

Buat Profil Pengguna
POST/v1/user_profiles

Daftarkan salah satu pelanggan akhir Anda dan dapatkan ID yang perlu dikirim pada permintaan yang Anda buat atas nama pelanggan akhir tersebut.

Daftar Profil Pengguna
GET/v1/user_profiles

Tampilkan daftar profil pengguna di organisasi Anda, secara default diurutkan dari yang terbaru.

Dapatkan Profil Pengguna
GET/v1/user_profiles/{user_profile_id}

Dapatkan profil pengguna berdasarkan ID untuk memeriksa detail yang tersimpan untuknya.

Perbarui Profil Pengguna
POST/v1/user_profiles/{user_profile_id}

Ubah detail profil pengguna, dengan membiarkan field yang tidak Anda kirim tetap seperti semula.

Hapus Profil Pengguna
DELETE/v1/user_profiles/{user_profile_id}

Hapus profil pengguna, misalnya saat pelanggan akhir menutup akunnya.

Buat URL Pendaftaran
POST/v1/user_profiles/{user_profile_id}/enrollment_url

Di Claude Platform on AWS, buat tautan yang mengarahkan pelanggan akhir pemilik profil ke Verification Portal.

Models
BetaDeletedUserProfile 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_.

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

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.

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.

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

Status of the trust grant.

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

Profil PenggunaURL Tindakan

Buat URL Tindakan
POST/v1/user_profiles/{user_profile_id}/action_urls

Buat tautan yang mengarahkan pelanggan akhir pemilik profil ke Verification Portal.

Profil PenggunaPenyediaGoogleKontrol Data

Dapatkan Kontrol Data Google-Managed
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.

Dapatkan kunci enkripsi dan bucket penyimpanan profil untuk Claude di Google Cloud's Agent Platform, beserta status setiap region.

Perbarui Kontrol Data Google-Managed
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.

Aktifkan atau nonaktifkan kontrol, atau ubah kunci atau bucket yang ditetapkan untuk suatu region. Kontrol dan region yang tidak Anda sertakan tetap seperti semula.