List a Project's Error Events
GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/
Return a list of events bound to a project.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe ID or slug of the organization the resource belongs to.
project_id_or_slug
(string)REQUIREDThe ID or slug of the project the resource belongs to.
Query Parameters:
cursor
(string)A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
full
(boolean)If this is set to true, the event payload will include the full event body, including the stacktrace. Set to 1 to enable.
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.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:project:admin
project:read
project:write
Copied
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/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" } ]