长期记忆(旧)
CreateMemory - Create a Memory
Create a long-term memory in the specified workspace.
cURL
Copy
curl --request POST \
--url 'https://bailian.{regionId}.aliyuncs.com/{workspaceId}/memories' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "关于 A 用户的长期记忆体"
}
'Copy
{
"memoryId": "6bff4f317a14442fbc9f73d29dbxxxx",
"requestId": "17204B98-xxxx-4F9A--2446A84821CA"
}