Retrieve an Issue

GET /api/0/issues/{issue_id}/

Return details on an individual issue. This returns the basic stats for the issue (title, last seen, first seen), some overall numbers (number of comments, user reports) as well as the summarized event data.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

issue_id (string)
REQUIRED

The ID of the issue to retrieve.

Scopes

<auth_token> requires one of the following scopes:
  • event:read
Copied
curl https://sentry.io/api/0/issues/{issue_id}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied
{ "activity": [ { "data": {}, "dateCreated": "2018-11-06T21:19:55Z", "id": "0", "type": "first_seen", "user": null } ], "annotations": [], "assignedTo": null, "count": "1", "culprit": "raven.scripts.runner in main", "firstRelease": { "authors": [], "commitCount": 0, "data": {}, "dateCreated": "2018-11-06T21:19:55.146Z", "dateReleased": null, "deployCount": 0, "firstEvent": "2018-11-06T21:19:55.271Z", "lastCommit": null, "lastDeploy": null, "lastEvent": "2018-11-06T21:19:55.271Z", "newGroups": 0, "owner": null, "projects": [ { "name": "Pump Station", "slug": "pump-station" } ], "ref": null, "shortVersion": "1764232", "url": null, "version": "17642328ead24b51867165985996d04b29310337" }, "firstSeen": "2018-11-06T21:19:55Z", "hasSeen": false, "id": "1", "isBookmarked": false, "isPublic": false, "isSubscribed": true, "lastRelease": null, "lastSeen": "2018-11-06T21:19:55Z", "level": "error", "logger": null, "metadata": { "title": "This is an example Python exception" }, "numComments": 0, "participants": [], "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/", "pluginActions": [], "pluginContexts": [], "pluginIssues": [], "project": { "id": "2", "name": "Pump Station", "slug": "pump-station" }, "seenBy": [], "shareId": null, "shortId": "PUMP-STATION-1", "stats": { "24h": [ [ 1541451600, 557 ], [ 1541455200, 473 ], [ 1541458800, 914 ], [ 1541462400, 991 ], [ 1541466000, 925 ], [ 1541469600, 881 ], [ 1541473200, 182 ], [ 1541476800, 490 ], [ 1541480400, 820 ], [ 1541484000, 322 ], [ 1541487600, 836 ], [ 1541491200, 565 ], [ 1541494800, 758 ], [ 1541498400, 880 ], [ 1541502000, 677 ], [ 1541505600, 381 ], [ 1541509200, 814 ], [ 1541512800, 329 ], [ 1541516400, 446 ], [ 1541520000, 731 ], [ 1541523600, 111 ], [ 1541527200, 926 ], [ 1541530800, 772 ], [ 1541534400, 400 ], [ 1541538000, 943 ] ], "30d": [ [ 1538870400, 565 ], [ 1538956800, 12862 ], [ 1539043200, 15617 ], [ 1539129600, 10809 ], [ 1539216000, 15065 ], [ 1539302400, 12927 ], [ 1539388800, 12994 ], [ 1539475200, 13139 ], [ 1539561600, 11838 ], [ 1539648000, 12088 ], [ 1539734400, 12338 ], [ 1539820800, 12768 ], [ 1539907200, 12816 ], [ 1539993600, 15356 ], [ 1540080000, 10910 ], [ 1540166400, 12306 ], [ 1540252800, 12912 ], [ 1540339200, 14700 ], [ 1540425600, 11890 ], [ 1540512000, 11684 ], [ 1540598400, 13510 ], [ 1540684800, 12625 ], [ 1540771200, 12811 ], [ 1540857600, 13180 ], [ 1540944000, 14651 ], [ 1541030400, 14161 ], [ 1541116800, 12612 ], [ 1541203200, 14316 ], [ 1541289600, 14742 ], [ 1541376000, 12505 ], [ 1541462400, 14180 ] ] }, "status": "unresolved", "statusDetails": {}, "subscriptionDetails": null, "tags": [], "title": "This is an example Python exception", "type": "default", "userCount": 0, "userReportCount": 0 }