List an Organization's Selectors
Return a list of selectors for a given organization.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe 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 example1d
for a one day range. Possible units arem
for minutes,h
for hours,d
for days andw
for weeks.You must either provide astatsPeriod
, or astart
andend
.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 ofstatsPeriod
.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 ofstatsPeriod
.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>'
{
"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"
}
]
}