> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# topics

Read and change the topics and intents that classify your conversations in [Intent Intelligence](/docs/optimization/performance/intent-intelligence). `topics class` has the alias `topics classification`.

## Commands

### Read topic performance

| Command              | What it does                                                                                               |
| -------------------- | ---------------------------------------------------------------------------------------------------------- |
| `topics list`        | Lists the topics, with the number of intents in each.                                                      |
| `topics report`      | Shows volume, resolution, containment, and CSAT per topic. With `--intents`, shows each intent too.        |
| `topics performance` | Ranks the topics by volume or a rate, with filters. With `--topic`, shows one topic and ranks its intents. |

### Manage topics and intents

| Command                                            | What it does                                                                 |
| -------------------------------------------------- | ---------------------------------------------------------------------------- |
| `topics class list`                                | Lists the topics, with their status: `active` or `recommended`.              |
| `topics class get <topicId>`                       | Shows a topic and its intents.                                               |
| `topics class create`                              | Creates a topic.                                                             |
| `topics class update <topicId>`                    | Changes the name, description, signals, or excludes of a topic.              |
| `topics class delete <topicId>`                    | Deletes a topic and all its intents.                                         |
| `topics class intents list [topicId]`              | Lists the intents of all topics, or of one topic.                            |
| `topics class intents create <topicId>`            | Creates an intent in a topic.                                                |
| `topics class intents update <topicId> <intentId>` | Changes the name, description, included text, or excluded text of an intent. |
| `topics class intents move <topicId> <intentId>`   | Moves an intent to a different topic.                                        |
| `topics class intents delete <topicId> <intentId>` | Deletes an intent.                                                           |
| `topics class recommendations`                     | Lists the recommended intents that wait for review, ranked by volume.        |
| `topics class recommendations approve <intentId>`  | Makes a recommended intent active. You can edit its fields in the same step. |
| `topics class recommendations dismiss <intentId>`  | Dismisses a recommended intent, which deletes it.                            |
| `topics class jobs`                                | Shows the background jobs on the topics, such as an intent move.             |

### Generated topics

`topics generated` manages the AI-generated topics. These topics are deprecated.

| Command                             | What it does                                                      |
| ----------------------------------- | ----------------------------------------------------------------- |
| `topics generated list`             | Lists the generated topics. With `--all`, includes hidden topics. |
| `topics generated get <id>`         | Shows one generated topic.                                        |
| `topics generated create`           | Creates a generated topic.                                        |
| `topics generated update <id>`      | Changes a generated topic.                                        |
| `topics generated hide <ids...>`    | Hides topics in the dashboard. It does not delete them.           |
| `topics generated unhide <ids...>`  | Shows hidden topics again.                                        |
| `topics generated group`            | Puts topics under a parent topic.                                 |
| `topics generated ungroup <ids...>` | Removes topics from their parent topic.                           |
| `topics generated report`           | Shows generated topic performance.                                |

## Examples

Rank the 10 topics with the largest automated resolution opportunity:

```bash
adacli acme topics performance --sort ar_opportunity --limit 10
```

Show one topic and its intents for the last 30 days:

```bash
adacli acme topics performance --topic <topic-id> --since 30d
```

Create an intent in a topic:

```bash
adacli acme topics class intents create <topic-id> \
  --name "Request a refund" \
  --description "The end user wants to return an item and get the money back" \
  --included "refund, return, money back" \
  --excluded "exchanges, store credit"
```

Review a recommended intent. Read its conversations, then approve it:

```bash
adacli acme topics class recommendations
adacli acme conversations search --intent <intent-id>
adacli acme topics class recommendations approve <intent-id> --yes
```

Move an intent to a different topic:

```bash
adacli acme topics class intents move <topic-id> <intent-id> --to <target-topic-id>
```

## Details

* The classifier runs after a conversation ends, and after a 10-minute idle pause. Until then, a recent conversation shows `__unclassified__`. This delay is expected.
* `update` changes only the fields you pass. To clear a field, pass an empty string, for example `--excludes ""`. The name cannot be empty.
* `recommendations approve` and `recommendations dismiss` show a preview and change nothing. To make the change, run the command again with `--yes`.
* `intents move` moves the 2,000 most recent conversations from the last 90 days with the intent. Older conversations stay under the old topic in reports. One move runs at a time on an instance.
* The API decides which dates, filters, and sort keys `topics performance` accepts. To list the filters, run `analytics filters`. Its JSON rates go from 0 to 100. The JSON rates of `topics report` go from 0 to 1.

For every option of a command, run it with `--help`, for example `adacli acme topics performance --help`.

## Related commands

* [`conversations`](/adacli/commands/conversations): find the conversations of a topic or an intent.
* [`analytics`](/adacli/commands/analytics): read one metric with a topic filter.
* [`custom-metrics`](/adacli/commands/custom-metrics): limit a custom metric to some intents.

---

Have any questions? Contact your Ada team, or email us at [](mailto:help@ada.cx?subject=Help%20Docs%20inquiry).