AnthropicClaude 托管智能体

列出记忆库

列出全部记忆库。

GET /anthropic/v1/memory_stores○ 未支持

请求参数

  • created_at[gte]string可选

    query: 只返回不早于该时间创建的记录。

  • created_at[lte]string可选

    query: 只返回不晚于该时间创建的记录。

  • include_archivedboolean可选

    query: 是否包含已归档的记录。

  • limitnumber可选

    query: 每页返回的条数上限。

  • pagestring可选

    query: 分页游标,取自上一页响应的 next_page。

返回

501 平台还没有实现这个端点;调用会得到下面这个响应:

平台还没有提供智能体可读写的持久记忆库。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。

错误按 Claude Managed Agents 格式返回,参见 错误码

响应

HTTP 200

Successful response

application/json

名称类型说明
dataarray<object>
data[].idstringUnique identifier for the memory store (a `memstore_...` tagged ID). Use this when attaching the store to a session, or in the `{memory_store_id}` path parameter of subsequent calls.
data[].created_atstringA timestamp in RFC 3339 format
data[].namestringHuman-readable name for the store. 1–255 characters. The store's mount-path slug under `/mnt/memory/` is derived from this name.
data[].typestring
data[].updated_atstringA timestamp in RFC 3339 format
data[].archived_atnull | stringA timestamp in RFC 3339 format
data[].descriptionstringFree-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent. Empty string when unset.
data[].metadataobjectArbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable.
next_pagestring | null