Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/types/memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,17 @@ export interface ListMemoryParams {
source?: string
chatbotId?: string
chatIdentityId?: string
/**
* Restrict to memories belonging to one brain.
*
* Unlike the knowledge graph — which is still workspace-wide because entities
* dedupe across brains — this IS a real server-side filter.
*/
brainId?: string
/** Only memories carrying a KG edge whose subject is this entity. */
subjectId?: string
/** Only memories carrying a KG edge with this predicate. */
predicate?: string
limit?: number
offset?: number
}
Expand Down
Loading