struct

Anthropic::BetaUserProfileExternalUserDetails

Inherits JSON::Serializable < Struct < Value < Object

Details about the entity a profile represents, as the platform states them. Anthropic does not verify them. Every field is optional on requests; responses carry every field, nil until the platform supplies a value.

Constructors

new(account_status : String | Nil = nil, entity_type : String | Nil = nil, country : String | Nil = nil, email_hash : String | Nil = nil, name_hash : String | Nil = nil, onboarded_at : String | Nil = nil, reference_id : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

account_status

Account status: "active", "suspended", or "blocked".

Source
country

ISO 3166-1 alpha-2 country code, when supplied.

Source
email_hash

Hash of the end user's email, when supplied.

Source
entity_type

Entity type: "individual", "business", "non_profit", or "government".

Source
name_hash

Hash of the end user's name, when supplied.

Source
onboarded_at

RFC 3339 timestamp recording when the end user onboarded.

Source
reference_id

Caller-supplied reference identifier for the end user.

Source