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 example1dfor a one day range. Possible units aremfor minutes,hfor hours,dfor days andwfor weeks.You must either provide astatsPeriod, or astartandend.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
endinstead 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
startinstead ofstatsPeriod.project(array(integer))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:adminorg:readorg: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"
}
]
}