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:
  • issue_id (string)

    the ID of the issue to retrieve.

Authentication: required
Method: GET
Path: /api/0/issues/{issue_id}/

Example

GET /api/0/issues/1/ HTTP/1.1
Host: sentry.io
Authorization: Bearer {base64-encoded-key-here}
HTTP/1.1 200 OK
Content-Length: 2675
X-XSS-Protection: 1; mode=block
Content-Language: en
X-Content-Type-Options: nosniff
Vary: Accept-Language, Cookie
Allow: GET, PUT, DELETE, HEAD, OPTIONS
X-Frame-Options: deny
Content-Type: application/json

{
  "activity": [
    {
      "data": {}, 
      "dateCreated": "2018-09-20T15:47:53Z", 
      "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-09-20T15:47:52.950Z", 
    "dateReleased": null, 
    "deployCount": 0, 
    "firstEvent": "2018-09-20T15:47:53.089Z", 
    "lastCommit": null, 
    "lastDeploy": null, 
    "lastEvent": "2018-09-20T15:47:53.089Z", 
    "newGroups": 0, 
    "owner": null, 
    "projects": [
      {
        "name": "Pump Station", 
        "slug": "pump-station"
      }
    ], 
    "ref": null, 
    "shortVersion": "593e1e1", 
    "url": null, 
    "version": "593e1e1f7222205faf2729e8d7766864717b48f6"
  }, 
  "firstSeen": "2018-09-20T15:47:53Z", 
  "hasSeen": false, 
  "id": "1", 
  "isBookmarked": false, 
  "isPublic": false, 
  "isSubscribed": false, 
  "lastRelease": null, 
  "lastSeen": "2018-09-20T15:47:53Z", 
  "level": "error", 
  "logger": null, 
  "metadata": {
    "title": "This is an example Python exception"
  }, 
  "numComments": 0, 
  "participants": [], 
  "permalink": null, 
  "pluginActions": [], 
  "pluginContexts": [], 
  "pluginIssues": [], 
  "project": {
    "id": "2", 
    "name": "Pump Station", 
    "slug": "pump-station"
  }, 
  "seenBy": [], 
  "shareId": null, 
  "shortId": "PUMP-STATION-1", 
  "stats": {
    "24h": [
      [
        1537369200.0, 
        148
      ], 
      [
        1537372800.0, 
        128
      ], 
      [
        1537376400.0, 
        445
      ], 
      [
        1537380000.0, 
        232
      ], 
      [
        1537383600.0, 
        507
      ], 
      [
        1537387200.0, 
        673
      ], 
      [
        1537390800.0, 
        167
      ], 
      [
        1537394400.0, 
        513
      ], 
      [
        1537398000.0, 
        664
      ], 
      [
        1537401600.0, 
        977
      ], 
      [
        1537405200.0, 
        932
      ], 
      [
        1537408800.0, 
        110
      ], 
      [
        1537412400.0, 
        709
      ], 
      [
        1537416000.0, 
        414
      ], 
      [
        1537419600.0, 
        332
      ], 
      [
        1537423200.0, 
        153
      ], 
      [
        1537426800.0, 
        408
      ], 
      [
        1537430400.0, 
        919
      ], 
      [
        1537434000.0, 
        228
      ], 
      [
        1537437600.0, 
        582
      ], 
      [
        1537441200.0, 
        553
      ], 
      [
        1537444800.0, 
        852
      ], 
      [
        1537448400.0, 
        442
      ], 
      [
        1537452000.0, 
        110
      ], 
      [
        1537455600.0, 
        898
      ]
    ], 
    "30d": [
      [
        1534809600.0, 
        17757
      ], 
      [
        1534896000.0, 
        27919
      ], 
      [
        1534982400.0, 
        25130
      ], 
      [
        1535068800.0, 
        23242
      ], 
      [
        1535155200.0, 
        28440
      ], 
      [
        1535241600.0, 
        25965
      ], 
      [
        1535328000.0, 
        26996
      ], 
      [
        1535414400.0, 
        27375
      ], 
      [
        1535500800.0, 
        26841
      ], 
      [
        1535587200.0, 
        26038
      ], 
      [
        1535673600.0, 
        25066
      ], 
      [
        1535760000.0, 
        29057
      ], 
      [
        1535846400.0, 
        22110
      ], 
      [
        1535932800.0, 
        26750
      ], 
      [
        1536019200.0, 
        26792
      ], 
      [
        1536105600.0, 
        29988
      ], 
      [
        1536192000.0, 
        23668
      ], 
      [
        1536278400.0, 
        26696
      ], 
      [
        1536364800.0, 
        24195
      ], 
      [
        1536451200.0, 
        29045
      ], 
      [
        1536537600.0, 
        28306
      ], 
      [
        1536624000.0, 
        26144
      ], 
      [
        1536710400.0, 
        27239
      ], 
      [
        1536796800.0, 
        27436
      ], 
      [
        1536883200.0, 
        26857
      ], 
      [
        1536969600.0, 
        25781
      ], 
      [
        1537056000.0, 
        24662
      ], 
      [
        1537142400.0, 
        24317
      ], 
      [
        1537228800.0, 
        24903
      ], 
      [
        1537315200.0, 
        11210
      ], 
      [
        1537401600.0, 
        8619
      ]
    ]
  }, 
  "status": "unresolved", 
  "statusDetails": {}, 
  "subscriptionDetails": null, 
  "tags": [], 
  "title": "This is an example Python exception", 
  "type": "default", 
  "userCount": 0, 
  "userReportCount": 0
}