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
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
dataset required | errors | logs | profile_functions | spans | tracemetrics | uptime_results | Which dataset to query. The chosen dataset determines which fields are… |
end | string | The end of the period of time for the query, expected in ISO-8601 format. For… |
environment | array | The name of environments to filter by. |
project | array | The IDs or slugs of projects to filter by. Project slugs are unique within… |
start | string | The start of the period of time for the query, expected in ISO-8601 format.… |
statsPeriod | string | The period of time for the query, will override the start & end parameters, a… |
topEvents | integer | The number of top event results to return, must be between 1 and 10. When… |
comparisonDelta | integer | The delta in seconds to return additional offset timeseries by |
interval | integer | The size of the bucket for the timeseries to have, must be a value smaller… |
sort | string | What to order the results of the query by. Must be something in the field… |
groupBy | array | List of fields to group by, *Required* for topEvents queries as this and sort… |
yAxis | string | The aggregate field to create the timeseries for, defaults to count() when not… |
query | string | Filters results by using query syntax. Example: query=(transaction:foo AND… |
disableAggregateExtrapolation | 0 | 1 | Whether to disable the use of extrapolation and return the sampled values, due… |
preventMetricAggregates | 0 | 1 | Whether to throw an error when aggregates are passed in the query or groupBy |
excludeOther | 0 | 1 | Only 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:
{
"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:
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 ….