getsentry / getsentry/sentry

Feature Request: API Endpoint for originally accepted Events with environment data

Open
#87,379 8 comments 1 reaction 0 assignees View on GitHub
API Platform Feature Product Area: Issues
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

Currently, there is no direct API endpoint that provides originally accepted events along with their environment values. While the Stats API shows events that were accepted within a given time window and Discover/API reflects [what is currently in storage](https://github.com/getsentry/sentry/issues/80885#issuecomment-2489124344), there is a gap when it comes to retrieving event counts based on their originally accepted state while also filtering or grouping by environment.

### Solution Brainstorm

_No response_

### Product Area

APIs

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Stats API and Discover/API behavior described in the issue, including the linked discussion about current storage. Define the endpoint's accepted-event counting, environment filtering, and grouping requirements before implementation. Done means the API can retrieve counts from the originally accepted state with environment filters or grouping.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.