chainabit memory list
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)
List up to 500 memories in the current workspace
Synopsis
chainabit memory list [options]Options
| Option | Description | Default |
|---|---|---|
--scope <scope> | Memory scope. Accepted values: session, conversation, user, agent, account, global, chainy. | — |
--project-id <id> | Project ID | — |
--limit <n> | Results per page | — |
--cursor <cursor> | Continue from a previous page | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Lists your memories in the current workspace, one page at a time, and changes nothing. --scope limits the result to one memory scope (session, conversation, user, agent, account, global or chainy) and --project-id limits it to the project with that ID. At most 500 memories are considered. --limit sets the page size (a whole number from 1 to 500, 20 by default) and --cursor continues from the cursor printed with the previous page; an invalid value is refused.
Output
Prints a table with each memory's ID and text. When more memories remain, it prints the --cursor value for the next page. With --json, the output contains data (the memories, each with id and content) and meta with offset, limit, total, hasNextPage, nextCursor and sourceLimitReached. sourceLimitReached is true when the 500-memory ceiling was reached, so more memories may exist than were considered.
Authentication and permissions
You must be signed in. The command only reads; if the server refuses, it prints the error and exits with a non-zero code. If the connected API does not support the operation yet, the command stops before sending anything.
Examples
chainabit memory list --scope user
chainabit memory list --limit 50 --cursor 50