Home / Servers / Sentry API / list_organization_events

Query Explore Events in Table Format

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

Query Explore Events in Table Format Retrieves explore data for a given organization. **Note**: This endpoint is intended to get a table of results, and is not for doing a full export of data sent to Sentry. The field query parameter… [GET /api/0/organizations/{organization_id_or_slug}/events/]

Name on the gateway: sentry_api__list_organization_events · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
field requiredarrayThe fields, functions, or equations to request for the query. At most 20…
dataset requirederrors | logs | profile_functions | spans | tracemetrics | uptime_resultsWhich dataset to query. The chosen dataset determines which fields are…
endstringThe end of the period of time for the query, expected in ISO-8601 format. For…
environmentarrayThe name of environments to filter by.
referrerstringInternal referrer identifier used for query tracing. Most clients can omit this.
projectarrayThe IDs or slugs of projects to filter by. Project slugs are unique within…
startstringThe start of the period of time for the query, expected in ISO-8601 format.…
statsPeriodstringThe period of time for the query, will override the start & end parameters, a…
per_pageintegerLimit the number of rows to return in the result. Default and maximum allowed…
querystringFilters results by using query syntax. Example: query=(transaction:foo AND…
sortstringWhat to order the results of the query by. Must be something in the field…
allowAggregateConditionsbooleanIf false, aggregate conditions in the query string are disallowed. Defaults to…
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_events",
  "arguments": {
    "organization_id_or_slug": "…",
    "field": [],
    "dataset": "…"
  }
}

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 query explore events in table format tool with organization_id_or_slug set to ….

More from Sentry API