Skip to main content
GET
List memory
Requires read:memory for documents or read:operational-rules for rules. Memory stores knowledge that the agents of your organization share. The list does not include file content; read a file to get its content and version. With kind=rule, the list contains all organization rules and is not paginated. domain selects classification or cash_application. Rules apply only to your organization and do not inherit firm documents.

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Query Parameters

kind
enum<string>
default:document

document (the default) for a memory document, or rule for an operational rule.

Available options:
document,
rule
directory
string
default:""

Document only. Relative directory, such as knowledge/. Empty lists the tree root.

cursor
string

Document only. The next_cursor value from the previous page.

Maximum string length: 256
limit
integer
default:100

Document only. Most documents to return in this page.

Required range: 1 <= x <= 100
domain
enum<string>

Rule only. Limits the lookup to one rule domain.

Available options:
classification,
cash_application

Response

File paths and metadata for the directory.

success
boolean
required

true when the request succeeded.

documents
object[]
required

Documents in the directory.

truncated
boolean
required

Some documents were left out because the response was too large. Truncation does not show that a document is absent or that another page follows.

next_cursor
string | null
required

Pass as cursor with the same filters to continue. Null when the listing is complete.