v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Events

List an Organization's Issues

Return a list of issues for an organization. All parameters are supplied as query string parameters. A default query of is:unresolved is applied. To return all results, use an empty query value (i.e. ``?query=`).

get/api/0/organizations/{organization_id_or_slug}/issues/

Path parameters

organization_id_or_slugstring required

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

Query parameters

environmentstring[]

The name of environments to filter by.

The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. -1 is also accepted to include all accessible projects. For example, the following are valid parameters:

  • /?project=1234&project=56789
  • /?project=android&project=javascript-react
  • /?project=-1
statsPeriodstring

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.

startstring date-time

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

endstring date-time

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

groupStatsPeriod'' | '14d' | '24h' | 'auto'

The timeline on which stats for the groups should be presented.

shortIdLookup'0' | '1'

If this is set to 1 then the query will be parsed for issue short IDs. These may ignore other filters (e.g. projects), which is why it is an opt-in.

querystring

An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.

viewIdstring

The ID of the view to use. If no query is present, the view's query and filters will be applied.

sort'date' | 'freq' | 'inbox' | 'new' | 'recommended' | 'trends' | 'user'

The sort order of the view. Options include 'Last Seen' (date), 'First Seen' (new), 'Trends' (trends), 'Events' (freq), 'Users' (user), 'Date Added' (inbox), and 'Recommended' (recommended).

limitinteger

The maximum number of issues to affect. The maximum is 100.

expandstring[]

Additional data to include in the response.

collapsestring[]

Fields to remove from the response to improve query performance.

cursorstring

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

Response

idstring required
shareIdstring nullable required
shortIdstring required
titlestring required
culpritstring nullable required
permalinkstring required
loggerstring nullable required
level'sample' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'unknown' required
status'resolved' | 'ignored' | 'pending_deletion' | 'pending_merge' | 'reprocessing' | 'unresolved' required
substatus'archived_until_escalating' | 'archived_until_condition_met' | 'archived_forever' | 'escalating' | 'ongoing' | 'regressed' | 'new' | 'null' nullable required
isPublicboolean required
platformstring nullable required
priority'low' | 'medium' | 'high' | 'null' nullable required
priorityLockedAtstring date-time nullable required
seerFixabilityScorenumber double nullable required
seerAutofixLastTriggeredstring date-time nullable required
seerExplorerAutofixLastTriggeredstring date-time nullable required
type'default' | 'error' | 'csp' | 'nel' | 'hpkp' | 'expectct' | 'expectstaple' | 'transaction' | 'generic' | 'feedback' required
issueTypestring required
issueCategorystring required
metadataobject required
numCommentsinteger required
isBookmarkedboolean required
isSubscribedboolean required
hasSeenboolean required
isUnhandledboolean required
countstring required
userCountinteger required
firstSeenstring date-time nullable required
lastSeenstring date-time nullable required
statsobject required
lifetimeobject required
sessionCountinteger required
integrationIssuesobject[] required
sentryAppIssuesobject[] required
latestEventHasAttachmentsboolean required
matchingEventIdstring nullable required
matchingEventEnvironmentstring nullable required