Home / Servers / Sentry API / list_organization_events_timeseries

Query Explore Events in Timeseries Format

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

Query Explore Events in Timeseries Format Retrieves explore data for a given organization as a timeseries. This endpoint can return timeseries for either 1 or many axis, and results grouped to the top events depending on the parameters… [GET /api/0/organizations/{organization_id_or_slug}/events-timeseries/]

Name on the gateway: sentry_api__list_organization_events_timeseries · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
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.
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…
topEventsintegerThe number of top event results to return, must be between 1 and 10. When…
comparisonDeltaintegerThe delta in seconds to return additional offset timeseries by
intervalintegerThe size of the bucket for the timeseries to have, must be a value smaller…
sortstringWhat to order the results of the query by. Must be something in the field…
groupByarrayList of fields to group by, *Required* for topEvents queries as this and sort…
yAxisstringThe aggregate field to create the timeseries for, defaults to count() when not…
querystringFilters results by using query syntax. Example: query=(transaction:foo AND…
disableAggregateExtrapolation0 | 1Whether to disable the use of extrapolation and return the sampled values, due…
preventMetricAggregates0 | 1Whether to throw an error when aggregates are passed in the query or groupBy
excludeOther0 | 1Only applicable with TopEvents, whether to include the 'other' timeseries…

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_timeseries",
  "arguments": {
    "organization_id_or_slug": "…",
    "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 timeseries format tool with organization_id_or_slug set to ….

More from Sentry API