Skip to main content
GET
Browse a memory store

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Path Parameters

memory_store_id
string<uuid>
required

Memory store id (UUID) whose namespace is being browsed.

Query Parameters

path_prefix
string

Directory to list, ending in a slash. Matches whole path segments, so /notes/ excludes /notes-archive/. Defaults to /.

depth
integer

0 lists the whole subtree, 1 lists immediate children with directories collapsed into prefixes. Any other value is a 400. Defaults to 0.

Response

One level of a memory store's namespace: memories and the prefixes standing for the paths beneath them.

One level of a memory store's namespace: memories and the prefixes standing for the paths beneath them.

entries
object[] | null
required

Memories and directory prefixes under the requested path, interleaved in path order.