List an Organization's Selectors

GET /api/0/organizations/{organization_id_or_slug}/replay-selectors/

Return a list of selectors for a given organization.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

Query Parameters:

environment (array(string))

The name of environments to filter by.

statsPeriod (string)

This defines the range of the time series, relative to now. The range is given in a <number><unit> format. For example 1d for a one day range. Possible units are m for minutes, h for hours, d for days and w for weeks.You must either provide a statsPeriod, or a start and end.

start (string)

This defines the start of the time series range as an explicit datetime, either in UTC ISO8601 or epoch seconds.Use along with end instead of statsPeriod.

end (string)

This defines the inclusive end of the time series range as an explicit datetime, either in UTC ISO8601 or epoch seconds.Use along with start instead of statsPeriod.

project (array(undefined))

The ID of the projects to filter by.

sort (string)

The field to sort the output by.

cursor (string)

A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.

per_page (integer)

Limit the number of rows to return in the result. Default and maximum allowed is 100.

query (string)

Filters results by using query syntax.

example: query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/replay-selectors/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
{
  "data": [
    {
      "count_dead_clicks": 2,
      "count_rage_clicks": 1,
      "dom_element": "div#myid.class1.class2",
      "element": {
        "alt": "",
        "aria_label": "",
        "class": [
          "class1",
          "class2"
        ],
        "component_name": "",
        "id": "myid",
        "role": "",
        "tag": "div",
        "testid": "",
        "title": ""
      },
      "project_id": "1"
    }
  ]
}