Get User Profile
beta.user_profiles.retrieve(id, **kwargs) -> BetaUserProfile { id, created_at, metadata, 4 more }
GET/v1/user_profiles/{id}
Get User Profile
Parameters
id: String
Returns
Get User Profile
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_user_profile = anthropic.beta.user_profiles.retrieve("id")
puts(beta_user_profile)Response 200
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"metadata": {
"foo": "string"
},
"trust_grants": {
"foo": {
"status": "status"
}
},
"type": "type",
"updated_at": "2019-12-27T18:11:19.117Z",
"external_id": "external_id"
}Returns Examples
Response 200
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"metadata": {
"foo": "string"
},
"trust_grants": {
"foo": {
"status": "status"
}
},
"type": "type",
"updated_at": "2019-12-27T18:11:19.117Z",
"external_id": "external_id"
}