API
Errors endpoints
These endpoints return the JavaScript errors Loogika has captured. Scope: analytics:read. All three take the shared time parameters, filters and segment_id.
Last updated . This guide belongs to Error tracking.
GET /sites/:siteId/errors/names
Returns the errors grouped by message. limit defaults to 10. Send page to get totalCount. Public sites and private links can call it.
{ "data": [ { "value": "Cannot read properties of undefined (reading 'id')", "errorName": "TypeError", "count": 311, "sessionCount": 120, "percentage": 41.67 } ] }
GET /sites/:siteId/errors/events
Returns the single occurrences of one error, newest first. Not available for public sites. A private link gets it without personal fields.
| Parameter | Meaning | Default |
|---|---|---|
errorMessage | Required. The exact message from errors/names | |
limit, page | Paging. Maximum 1,000 rows | 20 |
Each row has the time, the page, the browser and device, the location, and message, stack, fileName, lineNumber and columnNumber.
GET /sites/:siteId/errors/time-series
Returns the count of one error per bucket. errorMessage is required. bucket defaults to hour. Public sites and private links can call it.
{ "success": true, "data": [ { "time": "2026-11-18 00:00:00", "error_count": 4 } ] }