List a Project's Issues

GET /api/0/projects/{organization_slug}/{project_slug}/issues/

Return a list of issues (groups) bound to a project. All parameters are supplied as query string parameters.

A default query of is:unresolved is applied. To return results with other statuses send an new query value (i.e. ?query= for all results).

The statsPeriod parameter can be used to select the timeline stats which should be present. Possible values are: ‘’ (disable), ‘24h’, ‘14d’

Query Parameters:
  • statsPeriod (string)

    an optional stat period (can be one of "24h", "14d", and "").

  • shortIdLookup (bool)

    if this is set to true then short IDs are looked up by this function as well. This can cause the return value of the function to return an event issue of a different project which is why this is an opt-in. Set to 1 to enable.

  • query (querystring)

    an optional Sentry structured search query. If not provided an implied "is:unresolved" is assumed.)

Path Parameters:
  • organization_slug (string)

    the slug of the organization the issues belong to.

  • project_slug (string)

    the slug of the project the issues belong to.

Authentication: required
Method: GET
Path: /api/0/projects/{organization_slug}/{project_slug}/issues/

Example

GET /api/0/projects/the-interstellar-jurisdiction/pump-station/issues/?statsPeriod=24h HTTP/1.1
Host: sentry.io
Authorization: Bearer <token>
HTTP/1.1 200 OK
Content-Length: 2610
X-XSS-Protection: 1; mode=block
Content-Language: en
X-Max-Hits: 1000
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
Link: <https://sentry.io/api/0/projects/the-interstellar-jurisdiction/pump-station/issues/?statsPeriod=24h&cursor=1541539196000:0:1>; rel="previous"; results="false"; cursor="1541539196000:0:1", <https://sentry.io/api/0/projects/the-interstellar-jurisdiction/pump-station/issues/?statsPeriod=24h&cursor=1541539195000:1:0>; rel="next"; results="false"; cursor="1541539195000:1:0"
X-Hits: 2
Allow: GET, PUT, DELETE, HEAD, OPTIONS
X-Frame-Options: deny
Content-Type: application/json

[
  {
    "annotations": [], 
    "assignedTo": null, 
    "count": "1", 
    "culprit": "io.sentry.example.ApiRequest in perform", 
    "firstSeen": "2018-11-06T21:19:56Z", 
    "hasSeen": false, 
    "id": "2", 
    "isBookmarked": false, 
    "isPublic": false, 
    "isSubscribed": true, 
    "lastSeen": "2018-11-06T21:19:56Z", 
    "level": "error", 
    "logger": null, 
    "metadata": {
      "filename": "ApiRequest.java", 
      "type": "ApiException", 
      "value": "Authentication failed, token expired!"
    }, 
    "numComments": 0, 
    "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/2/", 
    "project": {
      "id": "2", 
      "name": "Pump Station", 
      "slug": "pump-station"
    }, 
    "shareId": null, 
    "shortId": "PUMP-STATION-2", 
    "stats": {
      "24h": [
        [
          1541455200.0, 
          604
        ], 
        [
          1541458800.0, 
          369
        ], 
        [
          1541462400.0, 
          319
        ], 
        [
          1541466000.0, 
          605
        ], 
        [
          1541469600.0, 
          213
        ], 
        [
          1541473200.0, 
          270
        ], 
        [
          1541476800.0, 
          111
        ], 
        [
          1541480400.0, 
          527
        ], 
        [
          1541484000.0, 
          295
        ], 
        [
          1541487600.0, 
          853
        ], 
        [
          1541491200.0, 
          180
        ], 
        [
          1541494800.0, 
          164
        ], 
        [
          1541498400.0, 
          832
        ], 
        [
          1541502000.0, 
          642
        ], 
        [
          1541505600.0, 
          621
        ], 
        [
          1541509200.0, 
          384
        ], 
        [
          1541512800.0, 
          597
        ], 
        [
          1541516400.0, 
          294
        ], 
        [
          1541520000.0, 
          350
        ], 
        [
          1541523600.0, 
          340
        ], 
        [
          1541527200.0, 
          835
        ], 
        [
          1541530800.0, 
          506
        ], 
        [
          1541534400.0, 
          161
        ], 
        [
          1541538000.0, 
          498
        ]
      ]
    }, 
    "status": "unresolved", 
    "statusDetails": {}, 
    "subscriptionDetails": null, 
    "title": "ApiException: Authentication failed, token expired!", 
    "type": "error", 
    "userCount": 0
  }, 
  {
    "annotations": [], 
    "assignedTo": null, 
    "count": "1", 
    "culprit": "raven.scripts.runner in main", 
    "firstSeen": "2018-11-06T21:19:55Z", 
    "hasSeen": false, 
    "id": "1", 
    "isBookmarked": false, 
    "isPublic": false, 
    "isSubscribed": true, 
    "lastSeen": "2018-11-06T21:19:55Z", 
    "level": "error", 
    "logger": null, 
    "metadata": {
      "title": "This is an example Python exception"
    }, 
    "numComments": 0, 
    "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/", 
    "project": {
      "id": "2", 
      "name": "Pump Station", 
      "slug": "pump-station"
    }, 
    "shareId": null, 
    "shortId": "PUMP-STATION-1", 
    "stats": {
      "24h": [
        [
          1541455200.0, 
          473
        ], 
        [
          1541458800.0, 
          914
        ], 
        [
          1541462400.0, 
          991
        ], 
        [
          1541466000.0, 
          925
        ], 
        [
          1541469600.0, 
          881
        ], 
        [
          1541473200.0, 
          182
        ], 
        [
          1541476800.0, 
          490
        ], 
        [
          1541480400.0, 
          820
        ], 
        [
          1541484000.0, 
          322
        ], 
        [
          1541487600.0, 
          836
        ], 
        [
          1541491200.0, 
          565
        ], 
        [
          1541494800.0, 
          758
        ], 
        [
          1541498400.0, 
          880
        ], 
        [
          1541502000.0, 
          677
        ], 
        [
          1541505600.0, 
          381
        ], 
        [
          1541509200.0, 
          814
        ], 
        [
          1541512800.0, 
          329
        ], 
        [
          1541516400.0, 
          446
        ], 
        [
          1541520000.0, 
          731
        ], 
        [
          1541523600.0, 
          111
        ], 
        [
          1541527200.0, 
          926
        ], 
        [
          1541530800.0, 
          772
        ], 
        [
          1541534400.0, 
          400
        ], 
        [
          1541538000.0, 
          943
        ]
      ]
    }, 
    "status": "unresolved", 
    "statusDetails": {}, 
    "subscriptionDetails": null, 
    "title": "This is an example Python exception", 
    "type": "default", 
    "userCount": 0
  }
]