---
title: "Get the top JS errors for a site"
method: GET
path: "/rum/sites/{rumSiteId}/errors/js"
tags: ["RUM"]
---

# Get the top JS errors for a site

`GET /rum/sites/{rumSiteId}/errors/js`

## Request

- Base URL: `https://api.pulsetic.com/api/public`
- URL: `https://api.pulsetic.com/api/public/rum/sites/{rumSiteId}/errors/js`
- Auth: API key in header `Authorization`

## Path parameters

- `rumSiteId` integer, required

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `limit` integer

## Response `200`

successful operation

- object[]
  - `fingerprint` string
  - `message` string
  - `source_file` string
  - `line` integer
  - `sample_stack` string
  - `occurrences` integer
  - `pages` integer
  - `last_seen` integer: Unix timestamp.

---

[API](https://skmtc.dev/pulsetic/apis/pulsetic-api-implementation.md) · [All operations](https://skmtc.dev/pulsetic/apis/pulsetic-api-implementation/llms.txt) · [OpenAPI document](https://skmtc.dev/pulsetic/apis/pulsetic-api-implementation/revisions/8e0c010eb8ed?raw)
