> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Conversations

> List conversations and inspect their routed steps from the CLI.

List routed conversations:

```bash theme={null}
dari activity conversations \
  --from 2026-07-01T00:00:00Z \
  --to 2026-07-08T00:00:00Z
```

The response includes conversation-level messages, model steps, model switches, spend, tokens, and latest activity.

## Search And Sort

```bash theme={null}
dari activity conversations \
  --from 2026-07-01T00:00:00Z \
  --to 2026-07-08T00:00:00Z \
  --search checkout \
  --sort-by model_switches \
  --sort-direction desc \
  --limit 25
```

Sort fields are `last_active`, `messages`, `model_steps`, `model_switches`, `spend`, and `tokens`. Use `--offset` for pagination.

## Inspect One Conversation

Copy a `conversation_ref` from the list response, then inspect its routed steps:

```bash theme={null}
dari activity conversations get <conversation_ref>
```

Use `--limit` and `--offset` to paginate long conversations:

```bash theme={null}
dari activity conversations get <conversation_ref> \
  --limit 100 \
  --offset 100
```

Conversation detail includes the selected model and provider for each step, usage and cost, completion state, route changes, and retained-payload availability.
