Claude Platform Docs

Profili utente

Registra i clienti finali serviti dalla tua piattaforma, in modo che ogni richiesta possa indicare a chi è destinata. Per iniziare, consulta la guida ai profili utente.

Crea profilo utente
beta.user_profiles.create(**kwargs) -> BetaUserProfile
POST/v1/user_profiles

Registra uno dei tuoi clienti finali e ottieni l'ID da inviare nelle richieste che effettui per suo conto.

Elenca profili utente
beta.user_profiles.list(**kwargs) -> PageCursor<BetaUserProfile>
GET/v1/user_profiles

Elenca i profili utente della tua organizzazione, per impostazione predefinita dal più recente.

Ottieni profilo utente
beta.user_profiles.retrieve(user_profile_id, **kwargs) -> BetaUserProfile
GET/v1/user_profiles/{user_profile_id}

Ottieni un profilo utente tramite ID per verificare i dettagli memorizzati.

Aggiorna profilo utente
beta.user_profiles.update(user_profile_id, **kwargs) -> BetaUserProfile
POST/v1/user_profiles/{user_profile_id}

Aggiorna i dettagli di un profilo utente, lasciando invariati i campi che non invii.

Elimina profilo utente
beta.user_profiles.delete(user_profile_id, **kwargs) -> BetaDeletedUserProfile
DELETE/v1/user_profiles/{user_profile_id}

Elimina un profilo utente, ad esempio quando il cliente finale chiude il proprio account.

Crea URL di registrazione
beta.user_profiles.create_enrollment_url(user_profile_id, **kwargs) -> BetaUserProfileEnrollmentURL
POST/v1/user_profiles/{user_profile_id}/enrollment_url

Su Claude Platform on AWS, crea un link che indirizza il cliente finale del profilo al Verification Portal.

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

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

class BetaUserProfileEnrollmentURL { 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: Time

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.

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

class BetaUserProfileExternalUserDetailsParams { account_status, country, email_hash, 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: :active | :pending | :rejected

Status of the trust grant.

One of the following:
:active
:pending
:rejected

Profili utenteURL di azione

Crea URL di azione
beta.user_profiles.action_urls.create(user_profile_id, **kwargs) -> BetaUserProfileActionURL
POST/v1/user_profiles/{user_profile_id}/action_urls

Crea un link che indirizza il cliente finale del profilo al Verification Portal.

Profili utenteProviderGoogleControlli dei dati

Ottieni i controlli dei dati Google-Managed
beta.user_profiles.providers.google.data_controls.retrieve(user_profile_id, **kwargs) -> BetaGoogleManagedDataControls
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.

Ottieni le chiavi di crittografia e i bucket di archiviazione del profilo per Claude su Google Cloud's Agent Platform, con lo stato di ciascuna regione.

Aggiorna i controlli dei dati Google-Managed
beta.user_profiles.providers.google.data_controls.update(user_profile_id, **kwargs) -> BetaGoogleManagedDataControls
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.

Attiva o disattiva un controllo, oppure modifica la chiave o il bucket impostato per una regione. I controlli e le regioni che ometti restano invariati.