# memory

> Every coline memory command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/memory

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Memory. Every `coline memory` command, 20 in all.

## memory export

What Kairo remembers, as markdown, as the app exports it: your memory in the workspace by default; --scope team, channel:\<id> or dm:\<id> for another; --about-you for what it knows about you across Coline. To stdout, or to a file with -o.

```text
coline memory export [flags]
```

**Built into coline.** · **Calls** `GET /api/v1/me/memory/export`, `GET /api/v1/workspaces/[workspaceSlug]/memory/export` · **Effect** read, changes nothing · **Can wait for your approval** no

| Flag                  | What it does                                                                     |
| --------------------- | -------------------------------------------------------------------------------- |
| `--scope <scope>`     | member (default), team, channel:\<id> or dm:\<id>.                               |
| `--about-you`         | What Kairo knows about you, from your account.                                   |
| `-o, --output <path>` | Save to this file (or into this folder), inside the current folder; - is stdout. |
| `--force`             | Replace a file that is already there.                                            |

```bash
coline memory export -o memory.md
coline memory export --scope team -w acme
coline memory export --about-you --json
```

## memory about-you changes list

The history of your "About you" memory, newest first: saves, corrections, forgets and what Kairo learned.

It changes nothing.

```text
coline memory about-you changes list [flags]
```

**Action** `memory.aboutYou.changes.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--cursor <text>` | nextCursor from the page before.                   |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you changes list
coline memory about-you changes list --json '{}' --fields id
```

## memory about-you changes undo

Undoes one change to your "About you" memory. Only a change you can see in full.

```text
coline memory about-you changes undo [flags]
```

**Action** `memory.aboutYou.changes.undo` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--run-id <id>`  | The change's id, from the changes list. Required.  |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you changes undo --run-id <run-id>
coline memory about-you changes undo --json '{"runId":"<run-id>"}' --fields id
```

## memory about-you get

Your "About you" notes, which follow you into every workspace, with their history and where they came from.

It changes nothing.

```text
coline memory about-you get [flags]
```

**Action** `memory.aboutYou.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you get
coline memory about-you get --json '{}' --fields id
```

## memory about-you notes create

Adds a note to "About you" by hand.

```text
coline memory about-you notes create [flags]
```

**Action** `memory.aboutYou.notes.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag             | What it does                                                                   |
| ---------------- | ------------------------------------------------------------------------------ |
| `--text <text>`  | The note, in a sentence. Required.                                             |
| `--kind <text>`  | Default fact. One of `fact`, `decision`, `preference`, `instruction`, `event`. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                             |

```bash
coline memory about-you notes create --text "…"
coline memory about-you notes create --json '{"text":"…"}' --fields id
```

## memory about-you notes delete

Forgets one "About you" note with its history; Kairo won't save it again.

It removes or overwrites something, so it runs only with --confirm.

```text
coline memory about-you notes delete [flags]
```

**Action** `memory.aboutYou.notes.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag             | What it does                                                                            |
| ---------------- | --------------------------------------------------------------------------------------- |
| `--note-id <id>` | The note's id. Required.                                                                |
| `--about <text>` | A few neutral words on what the note was about, for the history. Never the note's text. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                                      |

```bash
coline memory about-you notes delete --note-id <note-id> --confirm
coline memory about-you notes delete --json '{"noteId":"<note-id>"}' --fields id --confirm
```

## memory about-you notes update

Replaces the text of one "About you" note. The old text stays in its history.

```text
coline memory about-you notes update [flags]
```

**Action** `memory.aboutYou.notes.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--note-id <id>` | The note's id. Required.                           |
| `--text <text>`  | The corrected note. Required.                      |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you notes update --note-id <note-id> --text "…"
coline memory about-you notes update --json '{"noteId":"<note-id>","text":"…"}' --fields id
```

## memory about-you settings get

Whether Kairo learns about you from your personal workspace, and the workspaces where "About you" is off.

It changes nothing.

```text
coline memory about-you settings get [flags]
```

**Action** `memory.aboutYou.settings.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you settings get
coline memory about-you settings get --json '{}' --fields id
```

## memory about-you settings update

Turns learning about you from your personal workspace on or off. Off, Kairo saves notes about you only when asked.

```text
coline memory about-you settings update [flags]
```

**Action** `memory.aboutYou.settings.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--learning-enabled` | Required.                                          |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you settings update --learning-enabled
coline memory about-you settings update --json '{"learningEnabled":"true"}' --fields id
```

## memory about-you wipe

Deletes every "About you" note. Can't be undone.

It removes or overwrites something, so it runs only with --confirm.

Set confirm with --json '\{…}' or --input.

```text
coline memory about-you wipe [flags]
```

**Action** `memory.aboutYou.wipe` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory about-you wipe --confirm
coline memory about-you wipe --json '{"confirm":"…"}' --fields id --confirm
```

## memory changes list

The history of one memory in this workspace, newest first: saves, corrections, forgets and what Kairo learned.

It changes nothing.

```text
coline memory changes list [flags]
```

**Action** `memory.changes.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** yes, `-w`

| Flag              | What it does                                                                     |
| ----------------- | -------------------------------------------------------------------------------- |
| `--scope <text>`  | Which memory: member (yours here, the default), team, channel:\<id> or dm:\<id>. |
| `--cursor <text>` | nextCursor from the page before.                                                 |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline memory changes list -w acme
coline memory changes list -w acme --json '{}' --fields id
```

## memory changes undo

Undoes one change to a memory in this workspace. Only a change you can see in full.

```text
coline memory changes undo [flags]
```

**Action** `memory.changes.undo` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--run-id <id>`  | The change's id, from the changes list. Required.  |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory changes undo -w acme --run-id <run-id>
coline memory changes undo -w acme --json '{"runId":"<run-id>"}' --fields id
```

## memory get

One memory's notes in this workspace, with their history and where they came from: yours here, the team's, or a channel's or DM's.

It changes nothing.

```text
coline memory get [flags]
```

**Action** `memory.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** yes, `-w`

| Flag             | What it does                                                                     |
| ---------------- | -------------------------------------------------------------------------------- |
| `--scope <text>` | Which memory: member (yours here, the default), team, channel:\<id> or dm:\<id>. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline memory get -w acme
coline memory get -w acme --json '{}' --fields id
```

## memory learning update

Whether Kairo learns from conversations on its own for a channel, a group DM or your own memory here. Off, it saves notes there only when asked. Team learning is memory.settings.update.

```text
coline memory learning update [flags]
```

**Action** `memory.learning.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                                                     |
| ---------------- | -------------------------------------------------------------------------------- |
| `--scope <text>` | Which memory: member (yours here, the default), team, channel:\<id> or dm:\<id>. |
| `--enabled`      | Required.                                                                        |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline memory learning update -w acme --enabled
coline memory learning update -w acme --json '{"enabled":"true"}' --fields id
```

## memory notes create

Adds a note by hand to one memory in this workspace.

```text
coline memory notes create [flags]
```

**Action** `memory.notes.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                                                     |
| ---------------- | -------------------------------------------------------------------------------- |
| `--scope <text>` | Which memory: member (yours here, the default), team, channel:\<id> or dm:\<id>. |
| `--text <text>`  | The note, in a sentence. Required.                                               |
| `--kind <text>`  | Default fact. One of `fact`, `decision`, `preference`, `instruction`, `event`.   |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline memory notes create -w acme --text "…"
coline memory notes create -w acme --json '{"text":"…"}' --fields id
```

## memory notes delete

Forgets one note in this workspace with its history; Kairo won't save it again.

It removes or overwrites something, so it runs only with --confirm.

```text
coline memory notes delete [flags]
```

**Action** `memory.notes.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                                                            |
| ---------------- | --------------------------------------------------------------------------------------- |
| `--note-id <id>` | The note's id. Required.                                                                |
| `--about <text>` | A few neutral words on what the note was about, for the history. Never the note's text. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                                      |

```bash
coline memory notes delete -w acme --note-id <note-id> --confirm
coline memory notes delete -w acme --json '{"noteId":"<note-id>"}' --fields id --confirm
```

## memory notes update

correct replaces a note's text (the old text stays in its history). promote copies one of your notes into the team's memory; your role must let you change team memory.

```text
coline memory notes update [flags]
```

**Action** `memory.notes.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--note-id <id>`  | The note's id. Required.                           |
| `--action <text>` | Required. One of `correct`, `promote`.             |
| `--text <text>`   | For correct: the corrected note.                   |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory notes update -w acme --note-id <note-id> --action correct
coline memory notes update -w acme --json '{"noteId":"<note-id>","action":"correct"}' --fields id
```

## memory settings get

This workspace's memory switches: whether Kairo learns here, and whether "About you" may load here, with how many notes each memory holds.

It changes nothing.

```text
coline memory settings get [flags]
```

**Action** `memory.settings.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory settings get -w acme
coline memory settings get -w acme --json '{}' --fields id
```

## memory settings update

Turns learning for the whole workspace, or "About you" loading here, on or off. For people who manage memory.

```text
coline memory settings update [flags]
```

**Action** `memory.settings.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                       | What it does                                       |
| -------------------------- | -------------------------------------------------- |
| `--learning-enabled`       | Whether Kairo learns in this workspace.            |
| `--account-memory-enabled` | Whether people's About you notes load here.        |
| `--input <file>`           | Read the input as JSON from a file; - reads stdin. |

```bash
coline memory settings update -w acme
coline memory settings update -w acme --json '{}' --fields id
```

## memory wipe

Deletes every note in one memory in this workspace. Team memory needs memory managers and the workspace's name typed to confirm. Can't be undone.

It removes or overwrites something, so it runs only with --confirm.

Set confirm with --json '\{…}' or --input.

```text
coline memory wipe [flags]
```

**Action** `memory.wipe` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                                                     |
| ---------------- | -------------------------------------------------------------------------------- |
| `--scope <text>` | Which memory: member (yours here, the default), team, channel:\<id> or dm:\<id>. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline memory wipe -w acme --confirm
coline memory wipe -w acme --json '{"confirm":"…"}' --fields id --confirm
```
