Claude Platform Docs

User Profiles

Create User Profile
$ ant beta:user-profiles create
POST/v1/user_profiles
List User Profiles
$ ant beta:user-profiles list
GET/v1/user_profiles
Get User Profile
$ ant beta:user-profiles retrieve
GET/v1/user_profiles/{user_profile_id}
Update User Profile
$ ant beta:user-profiles update
POST/v1/user_profiles/{user_profile_id}
Create Enrollment URL
$ ant beta:user-profiles create-enrollment-url
POST/v1/user_profiles/{user_profile_id}/enrollment_url
Models
beta_user_profile: object{ id, created_at, metadata, 7 more }
beta_user_profile_enrollment_url: object{ expires_at, type, url }
expires_at: string

A timestamp in RFC 3339 format

formatdate-time
type: "enrollment_url"

Object type. Always enrollment_url.

url: string

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

beta_user_profile_trust_grant: object{ status }
status: "active" or "pending" or "rejected"

Status of the trust grant.

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