Skip to main content
长期记忆(旧)

ListMemories - List Memories

List long-term memories in a workspace with pagination.

GET
/{workspaceId}/memories
cURL
curl --request GET \
  --url 'https://bailian.{regionId}.aliyuncs.com/{workspaceId}/memories' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "maxResults": 10,
  "memories": [
    {
      "description": "我的大模型应用$APP_ID 关于 A 用户的长期记忆体",
      "memoryId": "3fc531f4519444beaafffa4538f6xxxx"
    }
  ],
  "nextToken": "dc270401186b433f975d7e1faaa3xxxx",
  "requestId": "6a71f2d9-f1c9-913b-818b-11402910xxxx\n",
  "totalCount": 105,
  "workspaceId": "llm-3z7uw7fwz0vexxxx\n"
}

Authorizations

string
header
required

阿里云 AccessKey (AK/SK) V3 签名认证。此处非 Bearer Token;调用时需按 ACS3-HMAC-SHA256 算法计算请求签名,详见阿里云 API 签名机制文档。

Path Parameters

string
required

业务空间 ID

Query Parameters

integer

分页查询时每页行数。取值范围 [1-50],默认 10。

string

查询凭证(Token),取值为上一次 API 调用返回的 NextToken。

Response

200-application/json
integer
object[]
string
string
integer
string
Overview
Managed Agent API
Sandbox API
Memory API
RAG API
Connector API
Framework Integration
Assistant API (Deprecating)
  • Overview