---
title: "List an Issue's Events"
url: https://docs.sentry.io/api/events/list-an-issues-events/
---

# List an Issue's Events | Sentry Docs

GET /api/0/organizations/{organization\_id\_or\_slug}/issues/{issue\_id}/events/

Return a list of events bound to an issue.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

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

* `issue_id` *(string)*

  REQUIRED

  The ID of the issue you'd like to query.

### Query Parameters:

* `start` *(string)*

  The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.

* `end` *(string)*

  The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.

* `statsPeriod` *(string)*

  The period of time for the query, will override the start & end parameters, a number followed by one of:

  * `d` for days
  * `h` for hours
  * `m` for minutes
  * `s` for seconds
  * `w` for weeks

  For example, `24h`, to mean query data starting from 24 hours ago to now.

* `statsPeriodStart` *(string)*

  How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.

* `statsPeriodEnd` *(string)*

  How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.

* `environment` *(array(string))*

  The name of environments to filter by.

* `full` *(boolean)*

  Specify true to include the full event body, including the stacktrace, in the event payload. When true, the page size is capped at 10.

* `sample` *(boolean)*

  Return events in pseudo-random order. This is deterministic so an identical query will always return the same events in the same order.

* `query` *(string)*

  An optional search query for filtering events. See [search syntax](https://docs.sentry.io/concepts/search.md) and queryable event properties at [Sentry Search Documentation](https://docs.sentry.io/concepts/search/searchable-properties/events.md) for more information. An example query might be `query=transaction:foo AND release:abc`

* `per_page` *(integer)*

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

* `cursor` *(string)*

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

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `event:admin`
* `event:read`
* `event:write`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/ \
 -H 'Authorization: Bearer <auth_token>'
```

RESPONSESCHEMA

```
Copied
[
  {
    "eventID": "9fac2ceed9344f2bbfdd1fdacb0ed9b1",
    "tags": [
      {
        "key": "browser",
        "value": "Chrome 60.0"
      },
      {
        "key": "device",
        "value": "Other"
      },
      {
        "key": "environment",
        "value": "production"
      },
      {
        "value": "fatal",
        "key": "level"
      },
      {
        "key": "os",
        "value": "Mac OS X 10.12.6"
      },
      {
        "value": "CPython 2.7.16",
        "key": "runtime"
      },
      {
        "key": "release",
        "value": "17642328ead24b51867165985996d04b29310337"
      },
      {
        "key": "server_name",
        "value": "web1.example.com"
      }
    ],
    "dateCreated": "2020-09-11T17:46:36Z",
    "user": null,
    "message": "",
    "title": "This is an example Python exception",
    "id": "dfb1a2d057194e76a4186cc8a5271553",
    "platform": "python",
    "event.type": "error",
    "groupID": "1889724436",
    "crashFile": null,
    "location": "example.py:123",
    "culprit": "/books/new/",
    "projectID": "49271",
    "metadata": {
      "type": "ExampleException",
      "value": "This is an example Python exception"
    }
  }
]
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
