chainabit memory delete-preview
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Preview deletion of the selected memory
Synopsis
chainabit memory delete-preview <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Shows what deleting the memory with the given ID would remove, without deleting anything, and issues a preview token. Pass that token to chainabit memory delete to remove exactly this selection. The token expires; the expiry time is printed with it. If the connected API does not support deletion previews yet, the command stops before sending anything.
Output
Prints how many memories were found, the memories to delete and the preview token with its expiry time. With --json, the output contains preview (true), totalFound, willForget (each entry with content and type), previewToken and expiresAt.
Authentication and permissions
You must be signed in. Nothing is deleted; the command only issues a preview. If the server refuses, it prints the error and exits with a non-zero code.
Examples
chainabit memory delete-preview 00000000-0000-4000-8000-000000000001