-
get-errorGet JavaScript Error -
get-error-statsGet JavaScript Error Stats -
get-errorsGet JavaScript Errors
Get JavaScript Error
Retrieve a single logged JavaScript error by ID, including its full stack trace. Read-only. Requires install_plugins; main site only.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id |
integer | Yes | The error record ID. |
Get JavaScript Error Stats
Returns aggregated statistics for logged JavaScript errors: totals, the most recurring error signatures and the worst pages. Error signatures are grouped by error_hash and ranked by occurrence count, and the top offending pages are ranked by occurrence count too. Filter by when errors were last seen and by kind (exceptions or failed resource loads). Read-only. Requires install_plugins; main site only.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
since |
string | No | ISO 8601 date/datetime. Only errors last seen at or after this time are included. | |
kind |
string | No | "all" |
exceptions: errors thrown by JavaScript code. resources: a script, stylesheet or image that failed to load (logged with the message “document error”). all: both. One of: all, exceptions, resources. |
limit |
integer | No | 10 |
Maximum number of entries to return in top_errors and top_pages. |
Get JavaScript Errors
Retrieve logged client-side JavaScript errors, one row per distinct error, with how often each has occurred. error_count gives how often it has occurred and the other context fields describe its latest occurrence. Read-only. Supports filtering by when an error was last seen, a substring match on the page URL, kind (exceptions or failed resource loads), result limit, and sort order. Browser extension errors are never logged. Requires install_plugins; main site only.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit |
integer | No | 50 |
Maximum number of error records to return. |
since |
string | No | ISO 8601 date/datetime. Only errors last seen at or after this time are returned. | |
kind |
string | No | "all" |
exceptions: errors thrown by JavaScript code. resources: a script, stylesheet or image that failed to load (logged with the message “document error”). all: both. One of: all, exceptions, resources. |
url_contains |
string | No | Substring match against the page URL the error occurred on. | |
order |
string | No | "desc" |
Sort order by last_seen. One of: asc, desc. |
