@@ -226,12 +226,21 @@ api-url: "https://app.honeybadger.io"
226
226
- `occurred_before` : Filter faults that occurred before this timestamp (string, optional)
227
227
- `limit` : Maximum number of faults to return (max 25) (number, optional)
228
228
- `order` : Order results by 'recent' or 'frequent' (string, optional)
229
+ - `page` : Page number for pagination (number, optional)
229
230
230
231
- **get_fault** - Get detailed information for a specific fault in a project
231
232
232
233
- `project_id` : The ID of the project containing the fault (number, required)
233
234
- `fault_id` : The ID of the fault to retrieve (number, required)
234
235
236
+ - **get_fault_counts** - Get fault count statistics for a project with optional filtering
237
+
238
+ - `project_id` : The ID of the project to get fault counts for (number, required)
239
+ - `q` : Search string to filter faults (string, optional)
240
+ - `created_after` : Filter faults created after this timestamp (string, optional)
241
+ - `occurred_after` : Filter faults that occurred after this timestamp (string, optional)
242
+ - `occurred_before` : Filter faults that occurred before this timestamp (string, optional)
243
+
235
244
- **list_fault_notices** - Get a list of notices (individual error events) for a specific fault
236
245
237
246
- `project_id` : The ID of the project containing the fault (number, required)
@@ -248,7 +257,7 @@ api-url: "https://app.honeybadger.io"
248
257
249
258
# # Development
250
259
251
- Run tests :
260
+ Run the tests :
252
261
253
262
` ` ` bash
254
263
go test ./...
0 commit comments