|
1 | 1 | --- |
2 | 2 | title: "Commands" |
3 | | -description: "Complete reference for every Mintlify CLI command and flag, including mint dev, mint build, mint validate, mint analytics, and more." |
| 3 | +description: "Complete reference for every Mintlify CLI command and flag, including mint dev, mint build, mint validate, mint broken-links, and more." |
4 | 4 | keywords: ["CLI", "mint", "commands", "flags", "reference"] |
5 | 5 | boost: 3 |
6 | 6 | --- |
@@ -67,107 +67,6 @@ mint status |
67 | 67 |
|
68 | 68 | --- |
69 | 69 |
|
70 | | -## `mint analytics` |
71 | | - |
72 | | -View analytics data for your documentation. Requires authentication with `mint login`. |
73 | | - |
74 | | -```bash |
75 | | -mint analytics <subcommand> [flags] |
76 | | -``` |
77 | | - |
78 | | -All subcommands accept these shared flags: |
79 | | - |
80 | | -| Flag | Description | |
81 | | -| --- | --- | |
82 | | -| `--subdomain` | Documentation subdomain. Defaults to the value set with `mint config set subdomain`, or the first project on your account. | |
83 | | -| `--from` | Start date in `YYYY-MM-DD` format. Defaults to 7 days ago, or the value set with `mint config set dateFrom`. | |
84 | | -| `--to` | End date in `YYYY-MM-DD` format. Defaults to today, or the value set with `mint config set dateTo`. | |
85 | | -| `--format` | Output format: `plain` (default), `table`, `json`, or `graph`. | |
86 | | - |
87 | | -### `mint analytics stats` |
88 | | - |
89 | | -Display a summary of views, visitors, searches, feedback, and assistant usage. |
90 | | - |
91 | | -```bash |
92 | | -mint analytics stats [flags] |
93 | | -``` |
94 | | - |
95 | | -| Flag | Description | |
96 | | -| --- | --- | |
97 | | -| `--page` | Filter to a specific page path. | |
98 | | - |
99 | | -### `mint analytics search` |
100 | | - |
101 | | -Display search queries with hit counts and click-through rates. |
102 | | - |
103 | | -```bash |
104 | | -mint analytics search [flags] |
105 | | -``` |
106 | | - |
107 | | -| Flag | Description | |
108 | | -| --- | --- | |
109 | | -| `--query` | Filter by search query substring. | |
110 | | -| `--page` | Filter by top clicked page. | |
111 | | - |
112 | | -### `mint analytics feedback` |
113 | | - |
114 | | -Display feedback submitted by users. |
115 | | - |
116 | | -```bash |
117 | | -mint analytics feedback [flags] |
118 | | -``` |
119 | | - |
120 | | -| Flag | Description | |
121 | | -| --- | --- | |
122 | | -| `--type` | Feedback type: `page` (aggregate by page) or `code` (code snippet feedback). | |
123 | | -| `--page` | Filter to a specific page path. | |
124 | | - |
125 | | -### `mint analytics conversation` |
126 | | - |
127 | | -View assistant conversation data. |
128 | | - |
129 | | -```bash |
130 | | -mint analytics conversation <subcommand> [flags] |
131 | | -``` |
132 | | - |
133 | | -#### `mint analytics conversation list` |
134 | | - |
135 | | -List assistant conversations. Each entry includes a conversation ID. |
136 | | - |
137 | | -```bash |
138 | | -mint analytics conversation list [flags] |
139 | | -``` |
140 | | - |
141 | | -| Flag | Description | |
142 | | -| --- | --- | |
143 | | -| `--page` | Filter conversations that reference a specific page in sources. | |
144 | | - |
145 | | -#### `mint analytics conversation view <conversation-id>` |
146 | | - |
147 | | -View a single conversation by ID. Use `mint analytics conversation list` to get IDs. |
148 | | - |
149 | | -```bash |
150 | | -mint analytics conversation view <conversation-id> |
151 | | -``` |
152 | | - |
153 | | -#### `mint analytics conversation buckets list` |
154 | | - |
155 | | -List grouped conversation categories. Each entry includes a bucket ID. |
156 | | - |
157 | | -```bash |
158 | | -mint analytics conversation buckets list |
159 | | -``` |
160 | | - |
161 | | -#### `mint analytics conversation buckets view <bucket-id>` |
162 | | - |
163 | | -View conversations in a category bucket. Use `mint analytics conversation buckets list` to get IDs. |
164 | | - |
165 | | -```bash |
166 | | -mint analytics conversation buckets view <bucket-id> |
167 | | -``` |
168 | | - |
169 | | ---- |
170 | | - |
171 | 70 | ## `mint workflow` |
172 | 71 |
|
173 | 72 | Create, list, and delete [workflows](/workflows) from the terminal. Requires authentication with `mint login`. |
@@ -282,9 +181,7 @@ mint config <subcommand> <key> [value] |
282 | 181 |
|
283 | 182 | | Key | Description | Used by | |
284 | 183 | | --- | --- | --- | |
285 | | -| `subdomain` | Default documentation subdomain. | `mint analytics`, `mint workflow` | |
286 | | -| `dateFrom` | Default start date for analytics queries (`YYYY-MM-DD`). | `mint analytics` | |
287 | | -| `dateTo` | Default end date for analytics queries (`YYYY-MM-DD`). | `mint analytics` | |
| 184 | +| `subdomain` | Default documentation subdomain. | `mint workflow` | |
288 | 185 |
|
289 | 186 | --- |
290 | 187 |
|
|
0 commit comments