Create profile schemas, extract profiles, and retrieve user profiles via API
User profiles extract structured user attributes (e.g., age, occupation, preferences) from conversations. For console configuration, see Configure memory rules.
This page covers the full API workflow: create a profile schema, extract from a conversation, and retrieve the profile.
Create schema → Add conversation and extract → Get user profile.
Prerequisites
- A memory created or using the default
DASHSCOPE_API_KEYconfigured
Full workflow
Create schema → Add conversation and extract → Get user profile.
Profile extraction is asynchronous — wait about 3 seconds after adding a conversation before retrieving.