List Profile Schemas
Updated at:
Query all profile schemas with pagination
Paginated query of all profile schemas for the current user.
Endpoint
GET
https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v2/apps/memory/profile_schemasReplace {WorkspaceId} with your actual workspace ID.
Query parameters
page_numintegerOptionalPage number; defaults to 1
page_sizeintegerOptionalNumber of schemas per page; defaults to 10
memory_library_idstringOptionalMemory library ID
Response fields
profile_schemasarrayList of profile schemas
profile_schemas[].profile_schema_idstringProfile schema ID
profile_schemas[].namestringProfile schema name
profile_schemas[].descriptionstringProfile schema description
profile_schemas[].plan_versionstringBilling plan
profile_schemas[].extract_scenestringExtraction mode
request_idstringRequest ID
totalintegerTotal number of profile schemas
Request examples
curl -X GET "https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v2/apps/memory/profile_schemas?page_size=10&page_num=1" \
--header "Authorization: Bearer $DASHSCOPE_API_KEY" \
--header "Content-Type: application/json"
Response example
{
"profile_schemas": [
{
"description": "User information including age and interests",
"extract_scene": "efficient",
"name": "Basic user profile",
"plan_version": "pro",
"profile_schema_id": "50edf54eaa5842e891d959ae115205be"
},
{
"description": "Default profile schema created by the system",
"extract_scene": "efficient",
"name": "Default profile",
"plan_version": "pro",
"profile_schema_id": "976e2e6e59f64ed0b25e6ca0268624bb"
}
],
"request_id": "3c46983f-85fd-92a5-8440-2e459cc91b2f",
"total": 2
}
ImportantTo view details of a single schema, use GetProfileSchema.
Is this page helpful?