Skip to main content
GET
GET /api/groups
The GET /api/groups endpoint retrieves deduplicated error groups, showing unique errors with their occurrence counts and metadata.

Query Parameters

string
Filter groups by environment.Example: /api/groups?environment=production
string
Filter groups by application ID.Example: /api/groups?appId=my-frontend-app
string
Filter by highest severity in the group.Values: error, warning, infoExample: /api/groups?severity=error
string
Filter groups with occurrences after this date (ISO 8601).Example: /api/groups?startDate=2024-01-01T00:00:00Z
string
Filter groups with occurrences before this date (ISO 8601).Example: /api/groups?endDate=2024-01-31T23:59:59Z
number
Filter groups with at least this many occurrences.Example: /api/groups?minCount=10
number
default:"1"
Page number for pagination (1-indexed).Example: /api/groups?page=2
number
default:"50"
Number of results per page (max: 100).Example: /api/groups?limit=100
string
default:"count"
Field to sort by.Values: count, lastSeen, firstSeen, severityExample: /api/groups?sortBy=lastSeen
string
default:"desc"
Sort order.Values: asc (ascending), desc (descending)Example: /api/groups?sortOrder=asc

Response Fields

array
Array of error group objects.
number
Total number of groups matching the query.
number
Current page number.
number
Results per page.
number
Total number of pages.

Example Requests

Example Response

Use Cases

Dashboard Overview

Display top error groups:

Identify New Issues

Find groups that appeared recently:

High-Impact Errors

Find errors affecting many users:

Application Health

Compare error groups across apps:

Filtering Examples

By Frequency

By Time

By Severity

Combined Filters

Sorting Options

By Count (Most Frequent)

Use Case: Find the most impactful errors to fix first.

By Last Seen (Most Recent)

Use Case: Monitor active issues and recent deployments.

By First Seen (Newest Issues)

Use Case: Identify new bugs introduced recently.

By Severity

Use Case: Prioritize critical errors over warnings.

Getting Group Details

To get all occurrences of a specific group:
Response: All individual error logs in that group.

Pagination

Navigate through large result sets:

Performance Optimization

Client Implementation

TypeScript

React Hook

Exporting Group Data

Export groups for reporting:
Track how groups change over time:

GET /api/logs

Get individual error logs by group

GET /api/stats

Get statistics including group counts

Error Grouping

Learn how error grouping works

Dashboard Features

View groups in the dashboard