Forget Bulk
Delete every memory in one context that matches the filters (#1941).
Filters combine with AND: created_before (exclusive), created_after (inclusive), type, tags (any of). At least one filter or all: true is required. dry_run defaults to true and returns matched; with dry_run: false the matches are deleted the way /forget deletes one memory (soft delete, search point and graph edges removed) and deleted is returned. One request deletes at most 2,000 memories; remaining: true means more match — repeat the request with cursor set to the returned next_cursor.
Permissions are /forget's: write access to the context (uniform 404 otherwise), then the per-memory delete check — a memory the caller may not delete is skipped and not counted. Allowed while the workspace is over its Free capacity: deleting is how it gets back under the cap.
Request
- Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://memory.kagura-ai.com/api/v1/memory/forget-bulk
- Auth: none declared
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.