Home / Servers / Sentry API / list_organization_issues

List an Organization's Issues

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

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… [GET /api/0/organizations/{organization_id_or_slug}/issues/]

Name on the gateway: sentry_api__list_organization_issues · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
environmentarrayThe name of environments to filter by.
projectarrayThe IDs or slugs of projects to filter by. Project slugs are unique within…
statsPeriodstringThe period of time for the query, will override the start & end parameters, a…
statsPeriodStartstringHow long ago the query period starts, in the same format as statsPeriod. Must…
statsPeriodEndstringHow long ago the query period ends, in the same format as statsPeriod. Must be…
startstringThe start of the period of time for the query, expected in ISO-8601 format.…
endstringThe end of the period of time for the query, expected in ISO-8601 format. For…
groupStatsPeriod | 14d | 24h | autoThe timeline on which stats for the groups should be presented.
shortIdLookup0 | 1If this is set to 1 then the query will be parsed for issue short IDs. These…
querystringAn optional search query for filtering issues. A default query will apply if…
viewIdstringThe ID of the view to use. If no query is present, the view's query and…
sortdate | freq | inbox | new | recommended | trends | userThe sort order of the view. Options include 'Last Seen' (date), 'First Seen'…
limitintegerThe maximum number of issues to affect. The maximum is 100.
expandarrayAdditional data to include in the response.
collapsearrayFields to remove from the response to improve query performance.
cursorstringA pointer to the last object fetched and its sort order; used to retrieve the…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__list_organization_issues",
  "arguments": {
    "organization_id_or_slug": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list an organization's issues tool with organization_id_or_slug set to ….

More from Sentry API