Loading...
    • Developer Guide
    • API Reference
    • MCP
    • Resources
    • Release Notes
    Search...
    ⌘K
    Using the API
    API overviewBeta headersErrors
    Messages
    Create a Message
    Count tokens in a Message
    Models
    List Models
    Get a Model
    Beta
    Create User Profile
    List User Profiles
    Get User Profile
    Update User Profile
    Create Enrollment URL
    Admin
    Completions
    Create a Text Completion
    Support & configuration
    Rate limitsService tiersVersionsIP addressesSupported regionsOpenAI SDK compatibility
    Console
    Log in

    User Profiles

    Create User Profile
    beta.user_profiles.create(UserProfileCreateParams**kwargs) -> BetaUserProfile
    POST/v1/user_profiles
    List User Profiles
    beta.user_profiles.list(UserProfileListParams**kwargs) -> SyncPageCursorV2[BetaUserProfile]
    GET/v1/user_profiles
    Get User Profile
    beta.user_profiles.retrieve(strid, UserProfileRetrieveParams**kwargs) -> BetaUserProfile
    GET/v1/user_profiles/{id}
    Update User Profile
    beta.user_profiles.update(strid, UserProfileUpdateParams**kwargs) -> BetaUserProfile
    POST/v1/user_profiles/{id}
    Create Enrollment URL
    beta.user_profiles.create_enrollment_url(strid, UserProfileCreateEnrollmentURLParams**kwargs) -> BetaUserProfileEnrollmentURL
    POST/v1/user_profiles/{id}/enrollment_url
    ModelsExpand Collapse
    class BetaUserProfile: …
    id: str
    created_at: datetime

    A timestamp in RFC 3339 format

    metadata: Dict[str, str]
    trust_grants: Dict[str, BetaUserProfileTrustGrant]
    status: str
    type: str
    updated_at: datetime

    A timestamp in RFC 3339 format

    external_id: Optional[str]
    class BetaUserProfileEnrollmentURL: …
    expires_at: datetime

    A timestamp in RFC 3339 format

    type: str
    url: str
    class BetaUserProfileTrustGrant: …
    status: str

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy