GET

授權

x-api-key
string
header
必填

路徑參數

memory_store_id
string
必填

查詢參數

limit
number

Number of items per page.

page
string | null
depth
number

How far below path_prefix to list. Defaults to 0, which lists every memory below the prefix.

Pass 1 to list only the direct children. Deeper memories are then grouped into memory_prefix items.

path_prefix
string

Return only memories whose path starts with this prefix, such as /notes/. This value appears in request URLs. Do not include secrets or personally identifiable information.

Omit it to list the whole store. The prefix must end with / and matches whole segments, so /notes/ matches /notes/todo.md but not /notes-archive/todo.md.

view
enum<string>

Whether each memory in the response includes content. Defaults to basic, which sets it to null.

With full, a page holds at most 20 items. Whether a memory or memory_version in the response includes its content. Defaults to full on retrieve operations and to basic on list, create, and update operations.

With full, list operations return at most 20 items per page.

  • basic - Return the object with content set to null. The content_size_bytes and content_sha256 fields remain populated, so sync clients can diff without fetching content.
  • full - Return the object with content populated. On list endpoints, view=full caps limit at 20.
可用選項:
basic,
full

回應

Success.

data
object[]
必填

The items of this page, in the list's order.

One item in a List Memories response: a memory, or a memory_prefix marker when depth is 1.

next_page
string | null
必填

Cursor of the next page: send it as page to continue. null on the last page.