# 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`*&#x20;<!-- -->(<!-- -->string<!-- -->)*

  REQUIRED

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

### Query Parameters:

* `environment`*&#x20;<!-- -->(<!-- -->array<!-- -->(string)<!-- -->)*

  The name of environments to filter by.

* `statsPeriod`*&#x20;<!-- -->(<!-- -->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`*&#x20;<!-- -->(<!-- -->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`*&#x20;<!-- -->(<!-- -->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`*&#x20;<!-- -->(<!-- -->array<!-- -->(integer)<!-- -->)*

  The ID of the projects to filter by.

* `projectSlug`*&#x20;<!-- -->(<!-- -->array<!-- -->(string)<!-- -->)*

  A list of project slugs to filter your results by.

* `sort`*&#x20;<!-- -->(<!-- -->string<!-- -->)*

  The field to sort the output by.

* `sortBy`*&#x20;<!-- -->(<!-- -->string<!-- -->)*

  The field to sort the output by.

* `orderBy`*&#x20;<!-- -->(<!-- -->string<!-- -->)*

  The field to sort the output by.

* `cursor`*&#x20;<!-- -->(<!-- -->string<!-- -->)*

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

* `per_page`*&#x20;<!-- -->(<!-- -->integer<!-- -->)*

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

* `query`*&#x20;<!-- -->(<!-- -->string<!-- -->)*

  Filters results by using [query syntax](/product/sentry-basics/search/).

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

### Scopes

You need to [authenticate via bearer auth token.](/api/auth/)

`<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

```
Copied
{
  "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"
    }
  ]
}
```
