@temps-sdk/cli 0.1.38 → 0.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +63877 -40097
  3. package/dist/skills/temps/SKILL.md +18 -9
  4. package/dist/skills/temps/evals/evals.json +23 -6
  5. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  6. package/dist/skills/temps/howtos/ci-automation.md +2 -3
  7. package/dist/skills/temps/howtos/curated-services.md +69 -0
  8. package/dist/skills/temps/howtos/deploy-application.md +8 -1
  9. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  10. package/dist/skills/temps/howtos/managed-services.md +4 -4
  11. package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
  12. package/dist/skills/temps/references/cli-runtime.md +10 -18
  13. package/dist/skills/temps/references/commands/INDEX.md +11 -0
  14. package/dist/skills/temps/references/commands/access.md +4 -0
  15. package/dist/skills/temps/references/commands/agents.md +731 -0
  16. package/dist/skills/temps/references/commands/ai.md +2638 -9
  17. package/dist/skills/temps/references/commands/alarms.md +129 -0
  18. package/dist/skills/temps/references/commands/analytics.md +1199 -2
  19. package/dist/skills/temps/references/commands/apikeys.md +50 -1
  20. package/dist/skills/temps/references/commands/audit.md +1 -0
  21. package/dist/skills/temps/references/commands/backups.md +312 -0
  22. package/dist/skills/temps/references/commands/blob.md +169 -0
  23. package/dist/skills/temps/references/commands/cloud.md +73 -0
  24. package/dist/skills/temps/references/commands/cluster.md +223 -0
  25. package/dist/skills/temps/references/commands/configure.md +7 -0
  26. package/dist/skills/temps/references/commands/containers.md +45 -0
  27. package/dist/skills/temps/references/commands/context.md +6 -0
  28. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  29. package/dist/skills/temps/references/commands/data.md +11 -13
  30. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  31. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  32. package/dist/skills/temps/references/commands/deploy.md +2 -0
  33. package/dist/skills/temps/references/commands/deployments.md +560 -0
  34. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  35. package/dist/skills/temps/references/commands/domains.md +105 -0
  36. package/dist/skills/temps/references/commands/drop.md +2 -0
  37. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  38. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  39. package/dist/skills/temps/references/commands/email-providers.md +64 -1
  40. package/dist/skills/temps/references/commands/emails.md +91 -0
  41. package/dist/skills/temps/references/commands/env-pull.md +2 -0
  42. package/dist/skills/temps/references/commands/env-push.md +2 -0
  43. package/dist/skills/temps/references/commands/environments.md +695 -2
  44. package/dist/skills/temps/references/commands/errors.md +1134 -61
  45. package/dist/skills/temps/references/commands/facets.md +6 -0
  46. package/dist/skills/temps/references/commands/flags.md +179 -0
  47. package/dist/skills/temps/references/commands/funnels.md +22 -2
  48. package/dist/skills/temps/references/commands/incidents.md +22 -0
  49. package/dist/skills/temps/references/commands/init.md +2 -0
  50. package/dist/skills/temps/references/commands/instances.md +6 -0
  51. package/dist/skills/temps/references/commands/instantiations.md +4 -0
  52. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  53. package/dist/skills/temps/references/commands/kv.md +184 -0
  54. package/dist/skills/temps/references/commands/link.md +2 -0
  55. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  56. package/dist/skills/temps/references/commands/login.md +9 -1
  57. package/dist/skills/temps/references/commands/logs.md +405 -10
  58. package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
  59. package/dist/skills/temps/references/commands/mcp.md +8 -1
  60. package/dist/skills/temps/references/commands/migrate.md +26 -0
  61. package/dist/skills/temps/references/commands/monitors.md +456 -0
  62. package/dist/skills/temps/references/commands/network-policy.md +147 -0
  63. package/dist/skills/temps/references/commands/nodes.md +209 -2
  64. package/dist/skills/temps/references/commands/notifications.md +173 -2
  65. package/dist/skills/temps/references/commands/open.md +2 -0
  66. package/dist/skills/temps/references/commands/otel-forward.md +16 -0
  67. package/dist/skills/temps/references/commands/otel.md +436 -0
  68. package/dist/skills/temps/references/commands/platform.md +57 -0
  69. package/dist/skills/temps/references/commands/plugin.md +106 -1
  70. package/dist/skills/temps/references/commands/presets.md +2 -0
  71. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  72. package/dist/skills/temps/references/commands/project-groups.md +72 -4
  73. package/dist/skills/temps/references/commands/projects.md +509 -4
  74. package/dist/skills/temps/references/commands/providers.md +533 -1
  75. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  76. package/dist/skills/temps/references/commands/revenue.md +223 -0
  77. package/dist/skills/temps/references/commands/rollback.md +2 -0
  78. package/dist/skills/temps/references/commands/sandbox.md +790 -10
  79. package/dist/skills/temps/references/commands/secrets.md +19 -6
  80. package/dist/skills/temps/references/commands/server.md +107 -0
  81. package/dist/skills/temps/references/commands/services.md +836 -5
  82. package/dist/skills/temps/references/commands/session-replay.md +8 -0
  83. package/dist/skills/temps/references/commands/settings.md +346 -0
  84. package/dist/skills/temps/references/commands/shield.md +354 -0
  85. package/dist/skills/temps/references/commands/skills.md +6 -0
  86. package/dist/skills/temps/references/commands/start.md +1 -0
  87. package/dist/skills/temps/references/commands/status-pages.md +376 -9
  88. package/dist/skills/temps/references/commands/status.md +2 -0
  89. package/dist/skills/temps/references/commands/surveys.md +165 -0
  90. package/dist/skills/temps/references/commands/teams.md +28 -0
  91. package/dist/skills/temps/references/commands/templates.md +22 -2
  92. package/dist/skills/temps/references/commands/tokens.md +106 -0
  93. package/dist/skills/temps/references/commands/traces.md +207 -0
  94. package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
  95. package/dist/skills/temps/references/commands/tunnels.md +141 -0
  96. package/dist/skills/temps/references/commands/up.md +2 -0
  97. package/dist/skills/temps/references/commands/users.md +127 -0
  98. package/dist/skills/temps/references/commands/vault.md +662 -0
  99. package/dist/skills/temps/references/commands/webhooks.md +10 -0
  100. package/dist/skills/temps/references/commands/workflow.md +2 -0
  101. package/dist/skills/temps/references/commands/workflows.md +563 -0
  102. package/dist/skills/temps/references/observability/analytics.md +2 -2
  103. package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
  104. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  105. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  106. package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
  107. package/dist/skills/temps/scripts/validate_skill.py +29 -43
  108. package/package.json +9 -3
  109. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  110. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  111. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  112. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
@@ -4,6 +4,45 @@
4
4
 
5
5
  Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
6
 
7
+ ## Contents
8
+
9
+ - [`errors list`](#errors-list-alias-ls)
10
+ - [`errors assign`](#errors-assign)
11
+ - [`errors show`](#errors-show)
12
+ - [`errors update`](#errors-update)
13
+ - [`errors bulk`](#errors-bulk)
14
+ - [`errors merge`](#errors-merge)
15
+ - [`errors unmerge`](#errors-unmerge)
16
+ - [`errors split`](#errors-split)
17
+ - [`errors fingerprints`](#errors-fingerprints)
18
+ - [`errors filters`](#errors-filters)
19
+ - [`errors comment`](#errors-comment)
20
+ - [`errors activity`](#errors-activity)
21
+ - [`errors searches`](#errors-searches)
22
+ - [`errors performance`](#errors-performance)
23
+ - [`errors releases`](#errors-releases)
24
+ - [`errors release`](#errors-release)
25
+ - [`errors attachments`](#errors-attachments)
26
+ - [`errors issues`](#errors-issues)
27
+ - [`errors commits`](#errors-commits)
28
+ - [`errors ownership`](#errors-ownership)
29
+ - [`errors events`](#errors-events)
30
+ - [`errors event`](#errors-event)
31
+ - [`errors stats`](#errors-stats)
32
+ - [`errors timeline`](#errors-timeline)
33
+ - [`errors dashboard`](#errors-dashboard)
34
+ - [`errors sourcemaps`](#errors-sourcemaps-alias-sm)
35
+ - [`errors source-files`](#errors-source-files-alias-sf)
36
+ - [`errors list-global-groups`](#errors-list-global-groups)
37
+ - [`errors autofix`](#errors-autofix)
38
+ - [`errors autofixer`](#errors-autofixer)
39
+ - [`errors ingestion`](#errors-ingestion)
40
+ - [`errors alert-rules`](#errors-alert-rules)
41
+ - [`errors search-group-assignees`](#errors-search-group-assignees)
42
+ - [`errors update-saved-search`](#errors-update-saved-search)
43
+ - [`errors feedback`](#errors-feedback)
44
+ - [`errors has-groups`](#errors-has-groups)
45
+
7
46
  ## `errors` (alias: `error`)
8
47
 
9
48
  Manage error tracking and error groups
@@ -11,8 +50,25 @@ Manage error tracking and error groups
11
50
  **Subcommands:**
12
51
 
13
52
  - `list` (`ls`) - List error groups for a project
53
+ - `assign` - Assign an error group to a user or team, or unassign it
14
54
  - `show` - Show error group details
15
55
  - `update` - Update error group status
56
+ - `bulk` - Resolve, reopen or ignore many error groups in one request
57
+ - `merge` - Merge other error groups into one surviving group
58
+ - `unmerge` - Take an error group back out of the merge it is part of
59
+ - `split` - Split fingerprints out of an error group into a new one
60
+ - `fingerprints` - List the fingerprints routing to an error group
61
+ - `filters` - Drop noisy error events before they are stored (browser extensions, crawlers, localhost, message or release patterns)
62
+ - `comment` - Comment on an error group, or edit or delete a comment
63
+ - `activity` - Show the comments and history of an error group, newest first
64
+ - `searches` - Saved searches over error groups
65
+ - `performance` - Show whether traces are checked for performance issues, and what is detected
66
+ - `releases` - Show the health of each release: crash-free sessions and users, adoption and deployment
67
+ - `release` - Show one release's sessions and crash-free rate per hour
68
+ - `attachments` - Files SDKs send with errors and feedback, kept in blob storage
69
+ - `issues` - Issues that track an error group, in the project's repository or any tracker
70
+ - `commits` - Show the commits that last touched the code an error group fails in
71
+ - `ownership` - Rules that assign new error groups by the path of the failing code
16
72
  - `events` - List events in an error group
17
73
  - `event` - Show a specific error event
18
74
  - `stats` - Get error statistics for a project
@@ -20,6 +76,15 @@ Manage error tracking and error groups
20
76
  - `dashboard` - Get error dashboard statistics
21
77
  - `sourcemaps` (`sm`) - Manage source maps for error symbolication
22
78
  - `source-files` (`sf`) - Manage raw source files for native (Go/Rust/…) symbolication
79
+ - `list-global-groups` - List issues across every project visible to the caller
80
+ - `autofix` - Autofix commands
81
+ - `autofixer` - Autofixer commands
82
+ - `ingestion` - Ingestion commands
83
+ - `alert-rules` - Alert rules commands
84
+ - `search-group-assignees` - Search users and teams to assign an error group to
85
+ - `update-saved-search` - Rename, share or change the filters of your saved search
86
+ - `feedback` - Feedback commands
87
+ - `has-groups` - Check if project has any error groups
23
88
 
24
89
  ### `errors list` (alias: `ls`)
25
90
 
@@ -38,6 +103,26 @@ List error groups for a project
38
103
  | `--end-date <date>` | Filter by end date (ISO 8601) | - | No |
39
104
  | `--sort-by <field>` | Sort by field (e.g., total_count, last_seen, first_seen) | - | No |
40
105
  | `--sort-order <order>` | Sort order: asc or desc | - | No |
106
+ | `--assignee <who>` | Only groups assigned to: me (you or your teams), none, user:<id> or team:<id> | - | No |
107
+ | `--search <text>` | Only groups whose title, type or message contains this text | - | No |
108
+ | `--saved-search <id>` | Apply a saved search; flags given here override its filters | - | No |
109
+ | `--type <type>` | Only errors, or only performance issues found in traces: error or performance | - | No |
110
+ | `--json` | Output in JSON format | - | No |
111
+
112
+ ### `errors assign`
113
+
114
+ Assign an error group to a user or team, or unassign it
115
+
116
+ **Options:**
117
+
118
+ | Flag | Description | Default | Required |
119
+ |------|-------------|---------|----------|
120
+ | `--project-id <id>` | Project ID | - | Yes |
121
+ | `--group-id <id>` | Error group ID | - | Yes |
122
+ | `--user-id <id>` | Assign to this user | - | No |
123
+ | `--team-id <id>` | Assign to this team | - | No |
124
+ | `--me` | Assign to yourself | - | No |
125
+ | `--none` | Unassign the group | - | No |
41
126
  | `--json` | Output in JSON format | - | No |
42
127
 
43
128
  ### `errors show`
@@ -63,11 +148,66 @@ Update error group status
63
148
  | `--project-id <id>` | Project ID | - | Yes |
64
149
  | `--group-id <id>` | Error group ID | - | Yes |
65
150
  | `--status <status>` | New status (unresolved, resolved, ignored) | - | Yes |
66
- | `--assigned-to <user>` | Assign to user | - | No |
151
+ | `--assigned-to <email>` | Assign to the user with this email ("" unassigns); see also errors assign | - | No |
152
+ | `--ignore-for <duration>` | With ignore: come back after this long (30m, 12h, 7d, 2w) | - | No |
153
+ | `--ignore-until <date>` | With ignore: come back at this time (ISO 8601) | - | No |
154
+ | `--ignore-count <n>` | With ignore: come back after this many more occurrences | - | No |
155
+ | `--ignore-users <n>` | With ignore: come back once this many new users are affected | - | No |
156
+ | `--ignore-forever` | With ignore: never come back on its own | - | No |
157
+ | `--in-next-release` | With resolve: stay resolved until an event arrives from a release newer than the current one | - | No |
67
158
 
68
- ### `errors events`
159
+ ### `errors bulk`
69
160
 
70
- List events in an error group
161
+ Resolve, reopen or ignore many error groups in one request
162
+
163
+ **Options:**
164
+
165
+ | Flag | Description | Default | Required |
166
+ |------|-------------|---------|----------|
167
+ | `--project-id <id>` | Project ID | - | Yes |
168
+ | `--action <action>` | Transition to apply (resolve, unresolve, ignore) | - | Yes |
169
+ | `--group-ids <ids>` | Comma-separated group IDs (at most 1000) | - | No |
170
+ | `--status <status>` | Select every group in this status instead of listing IDs | - | No |
171
+ | `--environment-id <id>` | Select every group of this environment | - | No |
172
+ | `--start-date <date>` | With --end-date: only groups with events in the window (ISO 8601) | - | No |
173
+ | `--end-date <date>` | With --start-date: only groups with events in the window (ISO 8601) | - | No |
174
+ | `--search <text>` | Select groups whose title, type or message contains this text | - | No |
175
+ | `--json` | Output in JSON format | - | No |
176
+ | `--ignore-for <duration>` | With ignore: come back after this long (30m, 12h, 7d, 2w) | - | No |
177
+ | `--ignore-until <date>` | With ignore: come back at this time (ISO 8601) | - | No |
178
+ | `--ignore-count <n>` | With ignore: come back after this many more occurrences | - | No |
179
+ | `--ignore-users <n>` | With ignore: come back once this many new users are affected | - | No |
180
+ | `--ignore-forever` | With ignore: never come back on its own | - | No |
181
+ | `--in-next-release` | With resolve: stay resolved until an event arrives from a release newer than the current one | - | No |
182
+
183
+ ### `errors merge`
184
+
185
+ Merge other error groups into one surviving group
186
+
187
+ **Options:**
188
+
189
+ | Flag | Description | Default | Required |
190
+ |------|-------------|---------|----------|
191
+ | `--project-id <id>` | Project ID | - | Yes |
192
+ | `--group-id <id>` | Surviving error group ID | - | Yes |
193
+ | `--source-group-ids <ids>` | Comma-separated group IDs to merge in (at most 50) | - | Yes |
194
+ | `--json` | Output in JSON format | - | No |
195
+
196
+ ### `errors unmerge`
197
+
198
+ Take an error group back out of the merge it is part of
199
+
200
+ **Options:**
201
+
202
+ | Flag | Description | Default | Required |
203
+ |------|-------------|---------|----------|
204
+ | `--project-id <id>` | Project ID | - | Yes |
205
+ | `--group-id <id>` | Merged-away error group ID | - | Yes |
206
+ | `--json` | Output in JSON format | - | No |
207
+
208
+ ### `errors split`
209
+
210
+ Split fingerprints out of an error group into a new one
71
211
 
72
212
  **Options:**
73
213
 
@@ -75,13 +215,13 @@ List events in an error group
75
215
  |------|-------------|---------|----------|
76
216
  | `--project-id <id>` | Project ID | - | Yes |
77
217
  | `--group-id <id>` | Error group ID | - | Yes |
78
- | `--page <page>` | Page number | - | No |
79
- | `--page-size <size>` | Page size | - | No |
218
+ | `--fingerprints <hashes>` | Comma-separated fingerprint hashes to move out | - | Yes |
219
+ | `--title <title>` | Title for the new group | - | No |
80
220
  | `--json` | Output in JSON format | - | No |
81
221
 
82
- ### `errors event`
222
+ ### `errors fingerprints`
83
223
 
84
- Show a specific error event
224
+ List the fingerprints routing to an error group
85
225
 
86
226
  **Options:**
87
227
 
@@ -89,12 +229,36 @@ Show a specific error event
89
229
  |------|-------------|---------|----------|
90
230
  | `--project-id <id>` | Project ID | - | Yes |
91
231
  | `--group-id <id>` | Error group ID | - | Yes |
92
- | `--event-id <id>` | Error event ID | - | Yes |
93
232
  | `--json` | Output in JSON format | - | No |
94
233
 
95
- ### `errors stats`
234
+ ### `errors filters`
96
235
 
97
- Get error statistics for a project
236
+ Drop noisy error events before they are stored (browser extensions, crawlers, localhost, message or release patterns)
237
+
238
+ **Subcommands:**
239
+
240
+ - `get` - Show one of a project's inbound filters
241
+ - `list` - List a project's inbound filters and how many events each dropped
242
+ - `add` - Add an inbound filter
243
+ - `update` - Change a filter's pattern, or switch it on or off
244
+ - `remove` (`delete`) - Delete an inbound filter; matching events are stored again
245
+
246
+ #### `errors filters get`
247
+
248
+ Show one of a project's inbound filters
249
+
250
+ **Usage:** `errors filters get <filter-id> [options]`
251
+
252
+ **Options:**
253
+
254
+ | Flag | Description | Default | Required |
255
+ |------|-------------|---------|----------|
256
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
257
+ | `--json` | Output in JSON format | - | No |
258
+
259
+ #### `errors filters list`
260
+
261
+ List a project's inbound filters and how many events each dropped
98
262
 
99
263
  **Options:**
100
264
 
@@ -103,74 +267,129 @@ Get error statistics for a project
103
267
  | `--project-id <id>` | Project ID | - | Yes |
104
268
  | `--json` | Output in JSON format | - | No |
105
269
 
106
- ### `errors timeline`
270
+ #### `errors filters add`
107
271
 
108
- Get error time series data
272
+ Add an inbound filter
109
273
 
110
274
  **Options:**
111
275
 
112
276
  | Flag | Description | Default | Required |
113
277
  |------|-------------|---------|----------|
114
278
  | `--project-id <id>` | Project ID | - | Yes |
115
- | `--days <days>` | Number of days to show | `7` | No |
116
- | `--bucket <bucket>` | Time bucket size (e.g., "1h", "15m", "1d") | `1h` | No |
117
- | `--environment-id <id>` | Filter chart data to a specific environment ID | - | No |
279
+ | `--kind <kind>` | browser-extensions, web-crawlers, localhost, error-message or release | - | Yes |
280
+ | `--pattern <glob>` | For error-message and release: a case-insensitive glob, * and ? wildcards | - | No |
281
+ | `--disabled` | Create the filter switched off | - | No |
118
282
  | `--json` | Output in JSON format | - | No |
119
283
 
120
- ### `errors dashboard`
284
+ #### `errors filters update`
121
285
 
122
- Get error dashboard statistics
286
+ Change a filter's pattern, or switch it on or off
123
287
 
124
288
  **Options:**
125
289
 
126
290
  | Flag | Description | Default | Required |
127
291
  |------|-------------|---------|----------|
128
292
  | `--project-id <id>` | Project ID | - | Yes |
129
- | `--days <days>` | Number of days to show | `7` | No |
130
- | `--compare` | Compare to previous period | - | No |
293
+ | `--filter-id <id>` | Filter ID | - | Yes |
294
+ | `--pattern <glob>` | New pattern | - | No |
295
+ | `--enable` | Switch the filter on | - | No |
296
+ | `--disable` | Switch the filter off | - | No |
131
297
  | `--json` | Output in JSON format | - | No |
132
298
 
133
- ### `errors sourcemaps` (alias: `sm`)
299
+ #### `errors filters remove` (alias: `delete`)
134
300
 
135
- Manage source maps for error symbolication
301
+ Delete an inbound filter; matching events are stored again
302
+
303
+ **Options:**
304
+
305
+ | Flag | Description | Default | Required |
306
+ |------|-------------|---------|----------|
307
+ | `--project-id <id>` | Project ID | - | Yes |
308
+ | `--filter-id <id>` | Filter ID | - | Yes |
309
+
310
+ ### `errors comment`
311
+
312
+ Comment on an error group, or edit or delete a comment
313
+
314
+ **Options:**
315
+
316
+ | Flag | Description | Default | Required |
317
+ |------|-------------|---------|----------|
318
+ | `--project-id <id>` | Project ID | - | Yes |
319
+ | `--group-id <id>` | Error group ID | - | Yes |
320
+ | `--body <text>` | The comment (at most 10,000 characters) | - | No |
321
+ | `--edit <comment-id>` | Replace the text of your comment with --body | - | No |
322
+ | `--delete <comment-id>` | Delete a comment (yours, or any as an administrator) | - | No |
323
+ | `--json` | Output in JSON format | - | No |
324
+
325
+ ### `errors activity`
326
+
327
+ Show the comments and history of an error group, newest first
328
+
329
+ **Options:**
330
+
331
+ | Flag | Description | Default | Required |
332
+ |------|-------------|---------|----------|
333
+ | `--project-id <id>` | Project ID | - | Yes |
334
+ | `--group-id <id>` | Error group ID | - | Yes |
335
+ | `--page <n>` | Page number | `1` | No |
336
+ | `--page-size <n>` | Entries per page (max 100) | `20` | No |
337
+ | `--json` | Output in JSON format | - | No |
338
+
339
+ ### `errors searches`
340
+
341
+ Saved searches over error groups
136
342
 
137
343
  **Subcommands:**
138
344
 
139
- - `upload` - Upload a source map file for a release
140
- - `list` (`ls`) - List source maps for a release
141
- - `releases` - List all releases that have source maps
142
- - `delete` - Delete all source maps for a release
143
- - `delete-one` - Delete a specific source map by ID
345
+ - `list` (`ls`) - List your saved searches and the ones shared with the project
346
+ - `save` - Save a set of list filters under a name
347
+ - `delete` - Delete a saved search (yours, or a shared one as an administrator)
144
348
 
145
- #### `errors sourcemaps upload`
349
+ #### `errors searches list` (alias: `ls`)
146
350
 
147
- Upload a source map file for a release
351
+ List your saved searches and the ones shared with the project
148
352
 
149
353
  **Options:**
150
354
 
151
355
  | Flag | Description | Default | Required |
152
356
  |------|-------------|---------|----------|
153
357
  | `--project-id <id>` | Project ID | - | Yes |
154
- | `--release <version>` | Release version (e.g. commit SHA) | - | Yes |
155
- | `--file <path>` | Path to the .map file | - | Yes |
156
- | `--file-path <urlpath>` | URL path in stack traces (e.g. ~/assets/main.js) | - | No |
157
- | `--dist <dist>` | Distribution identifier | - | No |
358
+ | `--json` | Output in JSON format | - | No |
158
359
 
159
- #### `errors sourcemaps list` (alias: `ls`)
360
+ #### `errors searches save`
160
361
 
161
- List source maps for a release
362
+ Save a set of list filters under a name
162
363
 
163
364
  **Options:**
164
365
 
165
366
  | Flag | Description | Default | Required |
166
367
  |------|-------------|---------|----------|
167
368
  | `--project-id <id>` | Project ID | - | Yes |
168
- | `--release <version>` | Release version | - | Yes |
369
+ | `--name <name>` | Name, unique among your saved searches in the project | - | Yes |
370
+ | `--shared` | Share with everyone who can open the project | - | No |
371
+ | `--status <status>` | unresolved, resolved or ignored | - | No |
372
+ | `--environment-id <id>` | An environment of the project | - | No |
373
+ | `--assignee <who>` | me, none, user:<id> or team:<id> | - | No |
374
+ | `--search <text>` | Text in the title, type or message | - | No |
375
+ | `--sort-by <field>` | last_seen, first_seen, total_count or events_in_range | - | No |
376
+ | `--sort-order <order>` | asc or desc | - | No |
169
377
  | `--json` | Output in JSON format | - | No |
170
378
 
171
- #### `errors sourcemaps releases`
379
+ #### `errors searches delete`
172
380
 
173
- List all releases that have source maps
381
+ Delete a saved search (yours, or a shared one as an administrator)
382
+
383
+ **Options:**
384
+
385
+ | Flag | Description | Default | Required |
386
+ |------|-------------|---------|----------|
387
+ | `--project-id <id>` | Project ID | - | Yes |
388
+ | `--id <id>` | Saved search ID | - | Yes |
389
+
390
+ ### `errors performance`
391
+
392
+ Show whether traces are checked for performance issues, and what is detected
174
393
 
175
394
  **Options:**
176
395
 
@@ -179,72 +398,926 @@ List all releases that have source maps
179
398
  | `--project-id <id>` | Project ID | - | Yes |
180
399
  | `--json` | Output in JSON format | - | No |
181
400
 
182
- #### `errors sourcemaps delete`
401
+ ### `errors releases`
183
402
 
184
- Delete all source maps for a release
403
+ Show the health of each release: crash-free sessions and users, adoption and deployment
185
404
 
186
405
  **Options:**
187
406
 
188
407
  | Flag | Description | Default | Required |
189
408
  |------|-------------|---------|----------|
190
409
  | `--project-id <id>` | Project ID | - | Yes |
191
- | `--release <version>` | Release version | - | Yes |
410
+ | `--environment <name>` | SDK environment (as the SDK sends it) | - | No |
411
+ | `--days <n>` | Window in days, 1 to 14 | `7` | No |
412
+ | `--page <n>` | Page | `1` | No |
413
+ | `--json` | Output in JSON format | - | No |
192
414
 
193
- #### `errors sourcemaps delete-one`
415
+ **Subcommands:**
194
416
 
195
- Delete a specific source map by ID
417
+ - `list-telemetry` - List telemetry releases
418
+
419
+ #### `errors releases list-telemetry`
420
+
421
+ List telemetry releases
422
+
423
+ **Options:**
424
+
425
+ | Flag | Description | Default | Required |
426
+ |------|-------------|---------|----------|
427
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
428
+ | `--release <value>` | Exact SDK release identity; absent lists observed releases | - | No |
429
+ | `--days <n>` | Retained observation window, 1–31 days; default 7 | - | No |
430
+ | `--page <n>` | Query parameter page | - | No |
431
+ | `--page-size <n>` | Query parameter page_size | - | No |
432
+ | `--json` | Output in JSON format | - | No |
433
+
434
+ ### `errors release`
435
+
436
+ Show one release's sessions and crash-free rate per hour
437
+
438
+ **Usage:** `errors release <release> [options]`
196
439
 
197
440
  **Options:**
198
441
 
199
442
  | Flag | Description | Default | Required |
200
443
  |------|-------------|---------|----------|
201
444
  | `--project-id <id>` | Project ID | - | Yes |
202
- | `--source-map-id <id>` | Source map ID | - | Yes |
445
+ | `--environment <name>` | SDK environment (as the SDK sends it) | - | No |
446
+ | `--days <n>` | Window in days, 1 to 14 | `7` | No |
447
+ | `--json` | Output in JSON format | - | No |
203
448
 
204
- ### `errors source-files` (alias: `sf`)
449
+ ### `errors attachments`
205
450
 
206
- Manage raw source files for native (Go/Rust/…) symbolication
451
+ Files SDKs send with errors and feedback, kept in blob storage
207
452
 
208
453
  **Subcommands:**
209
454
 
210
- - `upload` - Upload source file(s) for a release (single --file or a --dir tree)
211
- - `list` (`ls`) - List uploaded source files for a release
212
- - `delete` - Delete all source files for a release
455
+ - `list` (`ls`) - List the attachments of an error event (--group-id with --event-id) or of a feedback (--feedback-id)
456
+ - `download` - Save an attachment to a file
457
+ - `delete` (`rm`) - Delete an attachment and return its space to the quota
458
+ - `usage` - Show whether attachments are kept and how much of the quota they use
459
+ - `quota` - Set how much attachment storage the project may use
213
460
 
214
- #### `errors source-files upload`
461
+ #### `errors attachments list` (alias: `ls`)
215
462
 
216
- Upload source file(s) for a release (single --file or a --dir tree)
463
+ List the attachments of an error event (--group-id with --event-id) or of a feedback (--feedback-id)
217
464
 
218
465
  **Options:**
219
466
 
220
467
  | Flag | Description | Default | Required |
221
468
  |------|-------------|---------|----------|
222
469
  | `--project-id <id>` | Project ID | - | Yes |
223
- | `--release <version>` | Release version (must match the app's SENTRY_RELEASE, e.g. the deployed commit SHA) | - | Yes |
224
- | `--file <path>` | Path to a single source file | - | No |
225
- | `--file-path <path>` | Path as it appears in stack frames (e.g. internal/gateway/main.go); defaults to the file name | - | No |
226
- | `--dir <root>` | Upload every source file under this directory, recursively | - | No |
227
- | `--ext <csv>` | Comma-separated extensions to include with --dir (default: go,rs,py,rb,js,jsx,ts,tsx,java,kt,c,h,cpp,cc,hpp,cs,php,swift,scala,ex,exs) | - | No |
470
+ | `--group-id <id>` | Error group of the event; give it with --event-id, not with --feedback-id | - | No |
471
+ | `--event-id <id>` | Error event ID; give it with --group-id, not with --feedback-id | - | No |
472
+ | `--feedback-id <id>` | Feedback ID; give it alone, instead of --group-id and --event-id | - | No |
473
+ | `--json` | Output in JSON format | - | No |
228
474
 
229
- #### `errors source-files list` (alias: `ls`)
475
+ #### `errors attachments download`
230
476
 
231
- List uploaded source files for a release
477
+ Save an attachment to a file
478
+
479
+ **Options:**
480
+
481
+ | Flag | Description | Default | Required |
482
+ |------|-------------|---------|----------|
483
+ | `--project-id <id>` | Project ID | - | Yes |
484
+ | `--attachment-id <id>` | Attachment ID | - | Yes |
485
+ | `-o, --output <path>` | File to write (default: the attachment name, in this directory) | - | No |
486
+ | `-f, --force` | Overwrite the file if it exists | - | No |
487
+
488
+ #### `errors attachments delete` (alias: `rm`)
489
+
490
+ Delete an attachment and return its space to the quota
491
+
492
+ **Options:**
493
+
494
+ | Flag | Description | Default | Required |
495
+ |------|-------------|---------|----------|
496
+ | `--project-id <id>` | Project ID | - | Yes |
497
+ | `--attachment-id <id>` | Attachment ID | - | Yes |
498
+ | `-y, --yes` | Skip confirmation | - | No |
499
+
500
+ #### `errors attachments usage`
501
+
502
+ Show whether attachments are kept and how much of the quota they use
232
503
 
233
504
  **Options:**
234
505
 
235
506
  | Flag | Description | Default | Required |
236
507
  |------|-------------|---------|----------|
237
508
  | `--project-id <id>` | Project ID | - | Yes |
238
- | `--release <version>` | Release version | - | Yes |
239
509
  | `--json` | Output in JSON format | - | No |
240
510
 
241
- #### `errors source-files delete`
511
+ #### `errors attachments quota`
242
512
 
243
- Delete all source files for a release
513
+ Set how much attachment storage the project may use
244
514
 
245
515
  **Options:**
246
516
 
247
517
  | Flag | Description | Default | Required |
248
518
  |------|-------------|---------|----------|
249
519
  | `--project-id <id>` | Project ID | - | Yes |
250
- | `--release <version>` | Release version | - | Yes |
520
+ | `--mib <n>` | Quota in MiB, 0 to 102400 | - | Yes |
521
+ | `--json` | Output in JSON format | - | No |
522
+
523
+ ### `errors issues`
524
+
525
+ Issues that track an error group, in the project's repository or any tracker
526
+
527
+ **Subcommands:**
528
+
529
+ - `list` (`ls`) - List the issues linked to an error group
530
+ - `open` - Open an issue for an error group in the project's GitHub or GitLab repository
531
+ - `link` - Link an existing issue from any tracker to an error group
532
+ - `unlink` - Unlink an issue from an error group; the issue itself is left as it is
533
+
534
+ #### `errors issues list` (alias: `ls`)
535
+
536
+ List the issues linked to an error group
537
+
538
+ **Options:**
539
+
540
+ | Flag | Description | Default | Required |
541
+ |------|-------------|---------|----------|
542
+ | `--project-id <id>` | Project ID | - | Yes |
543
+ | `--group-id <id>` | Error group ID | - | Yes |
544
+ | `--refresh` | Read again whether each GitHub or GitLab issue is open | - | No |
545
+ | `--json` | Output in JSON format | - | No |
546
+
547
+ #### `errors issues open`
548
+
549
+ Open an issue for an error group in the project's GitHub or GitLab repository
550
+
551
+ **Options:**
552
+
553
+ | Flag | Description | Default | Required |
554
+ |------|-------------|---------|----------|
555
+ | `--project-id <id>` | Project ID | - | Yes |
556
+ | `--group-id <id>` | Error group ID | - | Yes |
557
+ | `--title <title>` | Issue title (default: the group's title) | - | No |
558
+ | `--json` | Output in JSON format | - | No |
559
+
560
+ #### `errors issues link`
561
+
562
+ Link an existing issue from any tracker to an error group
563
+
564
+ **Options:**
565
+
566
+ | Flag | Description | Default | Required |
567
+ |------|-------------|---------|----------|
568
+ | `--project-id <id>` | Project ID | - | Yes |
569
+ | `--group-id <id>` | Error group ID | - | Yes |
570
+ | `--url <url>` | The issue URL | - | Yes |
571
+ | `--title <title>` | What to call it (default: the issue's title, or its URL) | - | No |
572
+ | `--json` | Output in JSON format | - | No |
573
+
574
+ #### `errors issues unlink`
575
+
576
+ Unlink an issue from an error group; the issue itself is left as it is
577
+
578
+ **Options:**
579
+
580
+ | Flag | Description | Default | Required |
581
+ |------|-------------|---------|----------|
582
+ | `--project-id <id>` | Project ID | - | Yes |
583
+ | `--group-id <id>` | Error group ID | - | Yes |
584
+ | `--link-id <id>` | Issue link ID (from `temps errors issues list`) | - | Yes |
585
+ | `-y, --yes` | Skip confirmation | - | No |
586
+
587
+ ### `errors commits`
588
+
589
+ Show the commits that last touched the code an error group fails in
590
+
591
+ **Options:**
592
+
593
+ | Flag | Description | Default | Required |
594
+ |------|-------------|---------|----------|
595
+ | `--project-id <id>` | Project ID | - | Yes |
596
+ | `--group-id <id>` | Error group ID | - | Yes |
597
+ | `--json` | Output in JSON format | - | No |
598
+
599
+ ### `errors ownership`
600
+
601
+ Rules that assign new error groups by the path of the failing code
602
+
603
+ **Subcommands:**
604
+
605
+ - `list` (`ls`) - List the project's ownership rules in the order they are tried
606
+ - `set` - Replace the ownership rules with those in a file: one "<pattern> <user-id>" per line
607
+
608
+ #### `errors ownership list` (alias: `ls`)
609
+
610
+ List the project's ownership rules in the order they are tried
611
+
612
+ **Options:**
613
+
614
+ | Flag | Description | Default | Required |
615
+ |------|-------------|---------|----------|
616
+ | `--project-id <id>` | Project ID | - | Yes |
617
+ | `--json` | Output in JSON format | - | No |
618
+
619
+ #### `errors ownership set`
620
+
621
+ Replace the ownership rules with those in a file: one "<pattern> <user-id>" per line
622
+
623
+ **Options:**
624
+
625
+ | Flag | Description | Default | Required |
626
+ |------|-------------|---------|----------|
627
+ | `--project-id <id>` | Project ID | - | Yes |
628
+ | `--file <path>` | Rules file; "-" reads standard input | - | No |
629
+ | `--clear` | Remove every rule | - | No |
630
+ | `--json` | Output in JSON format | - | No |
631
+
632
+ ### `errors events`
633
+
634
+ List events in an error group
635
+
636
+ **Options:**
637
+
638
+ | Flag | Description | Default | Required |
639
+ |------|-------------|---------|----------|
640
+ | `--project-id <id>` | Project ID | - | Yes |
641
+ | `--group-id <id>` | Error group ID | - | Yes |
642
+ | `--page <page>` | Page number | - | No |
643
+ | `--page-size <size>` | Page size | - | No |
644
+ | `--json` | Output in JSON format | - | No |
645
+ | `--tag-key <value>` | Only events with this tag (with --tag-value) | - | No |
646
+ | `--tag-value <value>` | The value --tag-key must have | - | No |
647
+
648
+ ### `errors event`
649
+
650
+ Show a specific error event
651
+
652
+ **Options:**
653
+
654
+ | Flag | Description | Default | Required |
655
+ |------|-------------|---------|----------|
656
+ | `--project-id <id>` | Project ID | - | Yes |
657
+ | `--group-id <id>` | Error group ID | - | Yes |
658
+ | `--event-id <id>` | Error event ID | - | Yes |
659
+ | `--json` | Output in JSON format | - | No |
660
+
661
+ ### `errors stats`
662
+
663
+ Get error statistics for a project
664
+
665
+ **Options:**
666
+
667
+ | Flag | Description | Default | Required |
668
+ |------|-------------|---------|----------|
669
+ | `--project-id <id>` | Project ID | - | Yes |
670
+ | `--json` | Output in JSON format | - | No |
671
+
672
+ ### `errors timeline`
673
+
674
+ Get error time series data
675
+
676
+ **Options:**
677
+
678
+ | Flag | Description | Default | Required |
679
+ |------|-------------|---------|----------|
680
+ | `--project-id <id>` | Project ID | - | Yes |
681
+ | `--days <days>` | Number of days to show | `7` | No |
682
+ | `--bucket <bucket>` | Time bucket size (e.g., "1h", "15m", "1d") | `1h` | No |
683
+ | `--environment-id <id>` | Filter chart data to a specific environment ID | - | No |
684
+ | `--json` | Output in JSON format | - | No |
685
+
686
+ ### `errors dashboard`
687
+
688
+ Get error dashboard statistics
689
+
690
+ **Options:**
691
+
692
+ | Flag | Description | Default | Required |
693
+ |------|-------------|---------|----------|
694
+ | `--project-id <id>` | Project ID | - | Yes |
695
+ | `--days <days>` | Number of days to show | `7` | No |
696
+ | `--compare` | Compare to previous period | - | No |
697
+ | `--json` | Output in JSON format | - | No |
698
+
699
+ ### `errors sourcemaps` (alias: `sm`)
700
+
701
+ Manage source maps for error symbolication
702
+
703
+ **Subcommands:**
704
+
705
+ - `upload` - Upload a source map file for a release
706
+ - `list` (`ls`) - List source maps for a release
707
+ - `releases` - List all releases that have source maps
708
+ - `delete` - Delete all source maps for a release
709
+ - `delete-one` - Delete a specific source map by ID
710
+
711
+ #### `errors sourcemaps upload`
712
+
713
+ Upload a source map file for a release
714
+
715
+ **Options:**
716
+
717
+ | Flag | Description | Default | Required |
718
+ |------|-------------|---------|----------|
719
+ | `--project-id <id>` | Project ID | - | Yes |
720
+ | `--release <version>` | Release version (e.g. commit SHA) | - | Yes |
721
+ | `--file <path>` | Path to the .map file | - | Yes |
722
+ | `--file-path <urlpath>` | URL path in stack traces (e.g. ~/assets/main.js) | - | No |
723
+ | `--dist <dist>` | Distribution identifier | - | No |
724
+
725
+ #### `errors sourcemaps list` (alias: `ls`)
726
+
727
+ List source maps for a release
728
+
729
+ **Options:**
730
+
731
+ | Flag | Description | Default | Required |
732
+ |------|-------------|---------|----------|
733
+ | `--project-id <id>` | Project ID | - | Yes |
734
+ | `--release <version>` | Release version | - | Yes |
735
+ | `--json` | Output in JSON format | - | No |
736
+
737
+ #### `errors sourcemaps releases`
738
+
739
+ List all releases that have source maps
740
+
741
+ **Options:**
742
+
743
+ | Flag | Description | Default | Required |
744
+ |------|-------------|---------|----------|
745
+ | `--project-id <id>` | Project ID | - | Yes |
746
+ | `--json` | Output in JSON format | - | No |
747
+
748
+ #### `errors sourcemaps delete`
749
+
750
+ Delete all source maps for a release
751
+
752
+ **Options:**
753
+
754
+ | Flag | Description | Default | Required |
755
+ |------|-------------|---------|----------|
756
+ | `--project-id <id>` | Project ID | - | Yes |
757
+ | `--release <version>` | Release version | - | Yes |
758
+
759
+ #### `errors sourcemaps delete-one`
760
+
761
+ Delete a specific source map by ID
762
+
763
+ **Options:**
764
+
765
+ | Flag | Description | Default | Required |
766
+ |------|-------------|---------|----------|
767
+ | `--project-id <id>` | Project ID | - | Yes |
768
+ | `--source-map-id <id>` | Source map ID | - | Yes |
769
+
770
+ ### `errors source-files` (alias: `sf`)
771
+
772
+ Manage raw source files for native (Go/Rust/…) symbolication
773
+
774
+ **Subcommands:**
775
+
776
+ - `upload` - Upload source file(s) for a release (single --file or a --dir tree)
777
+ - `list` (`ls`) - List uploaded source files for a release
778
+ - `delete` - Delete all source files for a release
779
+
780
+ #### `errors source-files upload`
781
+
782
+ Upload source file(s) for a release (single --file or a --dir tree)
783
+
784
+ **Options:**
785
+
786
+ | Flag | Description | Default | Required |
787
+ |------|-------------|---------|----------|
788
+ | `--project-id <id>` | Project ID | - | Yes |
789
+ | `--release <version>` | Release version (must match the app's SENTRY_RELEASE, e.g. the deployed commit SHA) | - | Yes |
790
+ | `--file <path>` | Path to a single source file | - | No |
791
+ | `--file-path <path>` | Path as it appears in stack frames (e.g. internal/gateway/main.go); defaults to the file name | - | No |
792
+ | `--dir <root>` | Upload every source file under this directory, recursively | - | No |
793
+ | `--ext <csv>` | Comma-separated extensions to include with --dir (default: go,rs,py,rb,js,jsx,ts,tsx,java,kt,c,h,cpp,cc,hpp,cs,php,swift,scala,ex,exs) | - | No |
794
+
795
+ #### `errors source-files list` (alias: `ls`)
796
+
797
+ List uploaded source files for a release
798
+
799
+ **Options:**
800
+
801
+ | Flag | Description | Default | Required |
802
+ |------|-------------|---------|----------|
803
+ | `--project-id <id>` | Project ID | - | Yes |
804
+ | `--release <version>` | Release version | - | Yes |
805
+ | `--json` | Output in JSON format | - | No |
806
+
807
+ #### `errors source-files delete`
808
+
809
+ Delete all source files for a release
810
+
811
+ **Options:**
812
+
813
+ | Flag | Description | Default | Required |
814
+ |------|-------------|---------|----------|
815
+ | `--project-id <id>` | Project ID | - | Yes |
816
+ | `--release <version>` | Release version | - | Yes |
817
+
818
+ ### `errors list-global-groups`
819
+
820
+ List issues across every project visible to the caller
821
+
822
+ **Options:**
823
+
824
+ | Flag | Description | Default | Required |
825
+ |------|-------------|---------|----------|
826
+ | `--page <n>` | Query parameter page | - | No |
827
+ | `--page-size <n>` | Query parameter page_size | - | No |
828
+ | `--project-id <n>` | Query parameter project_id | - | No |
829
+ | `--status <value>` | Query parameter status | - | No |
830
+ | `--search <value>` | Query parameter search | - | No |
831
+ | `--start-date <value>` | Query parameter start_date | - | No |
832
+ | `--end-date <value>` | Query parameter end_date | - | No |
833
+ | `--json` | Output in JSON format | - | No |
834
+
835
+ ### `errors autofix`
836
+
837
+ Autofix commands
838
+
839
+ **Subcommands:**
840
+
841
+ - `get-capability` - Whether autofix can run for the project, what a fix would become, and the project's autofix policy
842
+ - `list-incidents` - The project's autofix incidents, newest first
843
+ - `open-incident` - Ask autofix to reproduce and fix an error group
844
+ - `get-incident` - One autofix incident
845
+ - `close-incident` - Record the decision on a fix waiting for review
846
+ - `list-incident-events` - The incident's timeline: every action the server, the agent and people took, oldest first
847
+ - `download-patch` - The fix as a unified diff, for 'git apply'
848
+ - `stop-incident` - Stop an incident: cancels the agent's turn, deletes the sandbox and keeps the transcript and timeline
849
+ - `set-paused` - Pause or resume autofix for the project
850
+ - `update-settings` - Change the project's autofix policy
851
+
852
+ #### `errors autofix get-capability`
853
+
854
+ Whether autofix can run for the project, what a fix would become, and the project's autofix policy
855
+
856
+ **Options:**
857
+
858
+ | Flag | Description | Default | Required |
859
+ |------|-------------|---------|----------|
860
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
861
+ | `--json` | Output in JSON format | - | No |
862
+
863
+ #### `errors autofix list-incidents`
864
+
865
+ The project's autofix incidents, newest first
866
+
867
+ **Options:**
868
+
869
+ | Flag | Description | Default | Required |
870
+ |------|-------------|---------|----------|
871
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
872
+ | `--page <n>` | Page number, from 1 | - | No |
873
+ | `--page-size <n>` | Items per page | - | No |
874
+ | `--status <value>` | 'open', 'closed', or one exact status | - | No |
875
+ | `--error-group-id <n>` | Only incidents of this error group | - | No |
876
+ | `--json` | Output in JSON format | - | No |
877
+
878
+ #### `errors autofix open-incident`
879
+
880
+ Ask autofix to reproduce and fix an error group
881
+
882
+ **Options:**
883
+
884
+ | Flag | Description | Default | Required |
885
+ |------|-------------|---------|----------|
886
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
887
+ | `--error-group-id <n>` | The error group to fix [required] | - | No |
888
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
889
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
890
+ | `--json` | Output in JSON format | - | No |
891
+
892
+ #### `errors autofix get-incident`
893
+
894
+ One autofix incident
895
+
896
+ **Usage:** `errors autofix get-incident <incident-id> [options]`
897
+
898
+ **Options:**
899
+
900
+ | Flag | Description | Default | Required |
901
+ |------|-------------|---------|----------|
902
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
903
+ | `--json` | Output in JSON format | - | No |
904
+
905
+ #### `errors autofix close-incident`
906
+
907
+ Record the decision on a fix waiting for review
908
+
909
+ **Usage:** `errors autofix close-incident <incident-id> [options]`
910
+
911
+ **Options:**
912
+
913
+ | Flag | Description | Default | Required |
914
+ |------|-------------|---------|----------|
915
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
916
+ | `--decision <value>` | 'merged' (you merged the pull request), 'applied' (you applied the patch) or 'rejected' [required] | - | No |
917
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
918
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
919
+ | `--json` | Output in JSON format | - | No |
920
+
921
+ #### `errors autofix list-incident-events`
922
+
923
+ The incident's timeline: every action the server, the agent and people took, oldest first
924
+
925
+ **Usage:** `errors autofix list-incident-events <incident-id> [options]`
926
+
927
+ **Options:**
928
+
929
+ | Flag | Description | Default | Required |
930
+ |------|-------------|---------|----------|
931
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
932
+ | `--after-id <n>` | Only events after this id; pass the last id seen to poll | - | No |
933
+ | `--limit <n>` | Default 100, max 500 | - | No |
934
+ | `--json` | Output in JSON format | - | No |
935
+
936
+ #### `errors autofix download-patch`
937
+
938
+ The fix as a unified diff, for 'git apply'
939
+
940
+ **Usage:** `errors autofix download-patch <incident-id> [options]`
941
+
942
+ **Options:**
943
+
944
+ | Flag | Description | Default | Required |
945
+ |------|-------------|---------|----------|
946
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
947
+ | `-o, --output <path>` | Where to write the reply (default: stdout) | `-` | No |
948
+ | `--json` | Output in JSON format | - | No |
949
+
950
+ #### `errors autofix stop-incident`
951
+
952
+ Stop an incident: cancels the agent's turn, deletes the sandbox and keeps the transcript and timeline
953
+
954
+ **Usage:** `errors autofix stop-incident <incident-id> [options]`
955
+
956
+ **Options:**
957
+
958
+ | Flag | Description | Default | Required |
959
+ |------|-------------|---------|----------|
960
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
961
+ | `--json` | Output in JSON format | - | No |
962
+
963
+ #### `errors autofix set-paused`
964
+
965
+ Pause or resume autofix for the project
966
+
967
+ **Options:**
968
+
969
+ | Flag | Description | Default | Required |
970
+ |------|-------------|---------|----------|
971
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
972
+ | `--paused` | Body field paused [required] | - | No |
973
+ | `--no-paused` | Set paused to false | - | No |
974
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
975
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
976
+ | `--json` | Output in JSON format | - | No |
977
+
978
+ #### `errors autofix update-settings`
979
+
980
+ Change the project's autofix policy
981
+
982
+ **Options:**
983
+
984
+ | Flag | Description | Default | Required |
985
+ |------|-------------|---------|----------|
986
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
987
+ | `--ai-model <value>` | Empty string clears it | - | No |
988
+ | `--ai-provider <value>` | Empty string clears it (back to the assistant's default) | - | No |
989
+ | `--min-confidence <n>` | Confidence level, 0-5, an 'auto_merge' fix must reach | - | No |
990
+ | `--mode <value>` | 'off', 'propose' or 'auto_merge' | - | No |
991
+ | `--protected-paths <value>` | Body field protected_paths (repeatable) | - | No |
992
+ | `--test-command <value>` | Empty string clears it | - | No |
993
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
994
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
995
+ | `--json` | Output in JSON format | - | No |
996
+
997
+ ### `errors autofixer`
998
+
999
+ Autofixer commands
1000
+
1001
+ **Subcommands:**
1002
+
1003
+ - `start-analysis` - Start an autofixer analysis run for the given error group
1004
+ - `get-run` - Get a single autofixer run with its logs
1005
+ - `add-context` - Append a user message to the run's context field
1006
+ - `create-pr` - Push the fix branch and create a pull request
1007
+ - `start-fix` - Transition from analysis to fix phase
1008
+ - `re-analyze` - Continue the conversation with user feedback
1009
+
1010
+ #### `errors autofixer start-analysis`
1011
+
1012
+ Start an autofixer analysis run for the given error group
1013
+
1014
+ **Options:**
1015
+
1016
+ | Flag | Description | Default | Required |
1017
+ |------|-------------|---------|----------|
1018
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1019
+ | `--branch <value>` | Branch to clone instead of the project's main branch | - | No |
1020
+ | `--error-group-id <n>` | Body field error_group_id [required] | - | No |
1021
+ | `--max-turns <n>` | Per-run turn cap applied to every phase (1–200) | - | No |
1022
+ | `--model <value>` | Model id for the chosen provider. 'None' uses the provider's saved default model | - | No |
1023
+ | `--provider <value>` | AI provider id ("claude_cli", "codex_cli", "opencode"). 'None' uses the platform default provider | - | No |
1024
+ | `--user-context <value>` | Free-text notes for the model (extra context about the error, retry guidance, constraints) | - | No |
1025
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
1026
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
1027
+ | `--json` | Output in JSON format | - | No |
1028
+
1029
+ #### `errors autofixer get-run`
1030
+
1031
+ Get a single autofixer run with its logs
1032
+
1033
+ **Usage:** `errors autofixer get-run <run-id> [options]`
1034
+
1035
+ **Options:**
1036
+
1037
+ | Flag | Description | Default | Required |
1038
+ |------|-------------|---------|----------|
1039
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1040
+ | `--json` | Output in JSON format | - | No |
1041
+
1042
+ #### `errors autofixer add-context`
1043
+
1044
+ Append a user message to the run's context field
1045
+
1046
+ **Usage:** `errors autofixer add-context <run-id> [options]`
1047
+
1048
+ **Options:**
1049
+
1050
+ | Flag | Description | Default | Required |
1051
+ |------|-------------|---------|----------|
1052
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1053
+ | `--message <value>` | Body field message [required] | - | No |
1054
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
1055
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
1056
+ | `--json` | Output in JSON format | - | No |
1057
+
1058
+ #### `errors autofixer create-pr`
1059
+
1060
+ Push the fix branch and create a pull request
1061
+
1062
+ **Usage:** `errors autofixer create-pr <run-id> [options]`
1063
+
1064
+ **Options:**
1065
+
1066
+ | Flag | Description | Default | Required |
1067
+ |------|-------------|---------|----------|
1068
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1069
+ | `--json` | Output in JSON format | - | No |
1070
+
1071
+ #### `errors autofixer start-fix`
1072
+
1073
+ Transition from analysis to fix phase
1074
+
1075
+ **Usage:** `errors autofixer start-fix <run-id> [options]`
1076
+
1077
+ **Options:**
1078
+
1079
+ | Flag | Description | Default | Required |
1080
+ |------|-------------|---------|----------|
1081
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1082
+ | `--json` | Output in JSON format | - | No |
1083
+
1084
+ #### `errors autofixer re-analyze`
1085
+
1086
+ Continue the conversation with user feedback
1087
+
1088
+ **Usage:** `errors autofixer re-analyze <run-id> [options]`
1089
+
1090
+ **Options:**
1091
+
1092
+ | Flag | Description | Default | Required |
1093
+ |------|-------------|---------|----------|
1094
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1095
+ | `--json` | Output in JSON format | - | No |
1096
+
1097
+ ### `errors ingestion`
1098
+
1099
+ Ingestion commands
1100
+
1101
+ **Subcommands:**
1102
+
1103
+ - `list-client-outcomes` - List client outcomes
1104
+
1105
+ #### `errors ingestion list-client-outcomes`
1106
+
1107
+ List client outcomes
1108
+
1109
+ **Options:**
1110
+
1111
+ | Flag | Description | Default | Required |
1112
+ |------|-------------|---------|----------|
1113
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1114
+ | `--days <n>` | Retained observation window, 1–31 days; default 7 | - | No |
1115
+ | `--page <n>` | Query parameter page | - | No |
1116
+ | `--page-size <n>` | Query parameter page_size | - | No |
1117
+ | `--json` | Output in JSON format | - | No |
1118
+
1119
+ ### `errors alert-rules`
1120
+
1121
+ Alert rules commands
1122
+
1123
+ **Subcommands:**
1124
+
1125
+ - `list` - List all alert rules for a project
1126
+ - `create` - Create a new alert rule
1127
+ - `delete` - Delete an alert rule
1128
+ - `get` - Get a specific alert rule
1129
+ - `update` - Update an existing alert rule
1130
+
1131
+ #### `errors alert-rules list`
1132
+
1133
+ List all alert rules for a project
1134
+
1135
+ **Options:**
1136
+
1137
+ | Flag | Description | Default | Required |
1138
+ |------|-------------|---------|----------|
1139
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1140
+ | `--json` | Output in JSON format | - | No |
1141
+
1142
+ #### `errors alert-rules create`
1143
+
1144
+ Create a new alert rule
1145
+
1146
+ **Options:**
1147
+
1148
+ | Flag | Description | Default | Required |
1149
+ |------|-------------|---------|----------|
1150
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1151
+ | `--cooldown-minutes <n>` | Minimum minutes between notifications for same rule+group | - | No |
1152
+ | `--enabled` | Body field enabled | - | No |
1153
+ | `--no-enabled` | Set enabled to false | - | No |
1154
+ | `--environment-filter <n>` | Optional environment ID to filter alerts | - | No |
1155
+ | `--error-level-filter <value>` | Optional error type/level filter | - | No |
1156
+ | `--name <value>` | Body field name [required] | - | No |
1157
+ | `--notification-priority <value>` | Notification priority: Low, Normal, High, Critical | - | No |
1158
+ | `--trigger-config <json>` | Trigger-specific configuration (e.g., {"count": 100, "window_minutes": 60} for frequency) (JSON) | - | No |
1159
+ | `--trigger-type <value>` | Trigger type: new_issue, regression, frequency, new_user, user_count, status_change [required] | - | No |
1160
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
1161
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
1162
+ | `--json` | Output in JSON format | - | No |
1163
+
1164
+ #### `errors alert-rules delete`
1165
+
1166
+ Delete an alert rule
1167
+
1168
+ **Usage:** `errors alert-rules delete <rule-id> [options]`
1169
+
1170
+ **Options:**
1171
+
1172
+ | Flag | Description | Default | Required |
1173
+ |------|-------------|---------|----------|
1174
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1175
+ | `-y, --yes` | Do not ask for confirmation | - | No |
1176
+ | `--json` | Output in JSON format | - | No |
1177
+
1178
+ #### `errors alert-rules get`
1179
+
1180
+ Get a specific alert rule
1181
+
1182
+ **Usage:** `errors alert-rules get <rule-id> [options]`
1183
+
1184
+ **Options:**
1185
+
1186
+ | Flag | Description | Default | Required |
1187
+ |------|-------------|---------|----------|
1188
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1189
+ | `--json` | Output in JSON format | - | No |
1190
+
1191
+ #### `errors alert-rules update`
1192
+
1193
+ Update an existing alert rule
1194
+
1195
+ **Usage:** `errors alert-rules update <rule-id> [options]`
1196
+
1197
+ **Options:**
1198
+
1199
+ | Flag | Description | Default | Required |
1200
+ |------|-------------|---------|----------|
1201
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1202
+ | `--cooldown-minutes <n>` | Body field cooldown_minutes | - | No |
1203
+ | `--enabled` | Body field enabled | - | No |
1204
+ | `--no-enabled` | Set enabled to false | - | No |
1205
+ | `--environment-filter <n>` | Body field environment_filter | - | No |
1206
+ | `--error-level-filter <value>` | Body field error_level_filter | - | No |
1207
+ | `--name <value>` | Body field name | - | No |
1208
+ | `--notification-priority <value>` | Body field notification_priority | - | No |
1209
+ | `--trigger-config <json>` | Body field trigger_config (JSON) | - | No |
1210
+ | `--trigger-type <value>` | Body field trigger_type | - | No |
1211
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
1212
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
1213
+ | `--json` | Output in JSON format | - | No |
1214
+
1215
+ ### `errors search-group-assignees`
1216
+
1217
+ Search users and teams to assign an error group to
1218
+
1219
+ **Options:**
1220
+
1221
+ | Flag | Description | Default | Required |
1222
+ |------|-------------|---------|----------|
1223
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1224
+ | `--q <value>` | Text in the user's name or email, or the team's name | - | No |
1225
+ | `--json` | Output in JSON format | - | No |
1226
+
1227
+ ### `errors update-saved-search`
1228
+
1229
+ Rename, share or change the filters of your saved search
1230
+
1231
+ **Usage:** `errors update-saved-search <saved-search-id> [options]`
1232
+
1233
+ **Options:**
1234
+
1235
+ | Flag | Description | Default | Required |
1236
+ |------|-------------|---------|----------|
1237
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1238
+ | `--filters <json>` | The list filters a saved search applies (JSON) | - | No |
1239
+ | `--name <value>` | Body field name | - | No |
1240
+ | `--shared` | Body field shared | - | No |
1241
+ | `--no-shared` | Set shared to false | - | No |
1242
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
1243
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
1244
+ | `--json` | Output in JSON format | - | No |
1245
+
1246
+ ### `errors feedback`
1247
+
1248
+ Feedback commands
1249
+
1250
+ **Subcommands:**
1251
+
1252
+ - `list` - List project feedback
1253
+ - `delete` - Delete project feedback
1254
+ - `get` - Get project feedback
1255
+ - `update` - Update project feedback
1256
+
1257
+ #### `errors feedback list`
1258
+
1259
+ List project feedback
1260
+
1261
+ **Options:**
1262
+
1263
+ | Flag | Description | Default | Required |
1264
+ |------|-------------|---------|----------|
1265
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1266
+ | `--status <value>` | Query parameter status | - | No |
1267
+ | `--page <n>` | Query parameter page | - | No |
1268
+ | `--page-size <n>` | Query parameter page_size | - | No |
1269
+ | `--json` | Output in JSON format | - | No |
1270
+
1271
+ #### `errors feedback delete`
1272
+
1273
+ Delete project feedback
1274
+
1275
+ **Usage:** `errors feedback delete <feedback-id> [options]`
1276
+
1277
+ **Options:**
1278
+
1279
+ | Flag | Description | Default | Required |
1280
+ |------|-------------|---------|----------|
1281
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1282
+ | `-y, --yes` | Do not ask for confirmation | - | No |
1283
+ | `--json` | Output in JSON format | - | No |
1284
+
1285
+ #### `errors feedback get`
1286
+
1287
+ Get project feedback
1288
+
1289
+ **Usage:** `errors feedback get <feedback-id> [options]`
1290
+
1291
+ **Options:**
1292
+
1293
+ | Flag | Description | Default | Required |
1294
+ |------|-------------|---------|----------|
1295
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1296
+ | `--json` | Output in JSON format | - | No |
1297
+
1298
+ #### `errors feedback update`
1299
+
1300
+ Update project feedback
1301
+
1302
+ **Usage:** `errors feedback update <feedback-id> [options]`
1303
+
1304
+ **Options:**
1305
+
1306
+ | Flag | Description | Default | Required |
1307
+ |------|-------------|---------|----------|
1308
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1309
+ | `--status <value>` | Body field status [required] | - | No |
1310
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
1311
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
1312
+ | `--json` | Output in JSON format | - | No |
1313
+
1314
+ ### `errors has-groups`
1315
+
1316
+ Check if project has any error groups
1317
+
1318
+ **Options:**
1319
+
1320
+ | Flag | Description | Default | Required |
1321
+ |------|-------------|---------|----------|
1322
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
1323
+ | `--json` | Output in JSON format | - | No |