You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add org-scoped equivalents for project-scoped API endpoints (region routing / DE latency) #118963
Sentry has a @deprecated decorator (in src/sentry/api/helpers/deprecation.py) that emits X-Sentry-Deprecation-Date / X-Sentry-Replacement-Endpoint headers and runs brownouts (HTTP 410 on a cron schedule) after the deprecation date.
Currently deprecated with active brownouts:
ALERTS_API_DEPRECATION_DATE = 2026-05-14 — cron 0 */2 * * *, duration 120s → 2 min every 2 hours returning 410
The following project-scoped endpoints have no org-scoped equivalent, meaning clients cannot migrate off them even if desired. This tracks adding those equivalents.
Client keys
/projects/{org}/{project}/keys/ and /projects/{org}/{project}/keys/{id}/ (PUBLIC). /organizations/{org}/project-keys/ is GET-only list-all — not a CRUD replacement.
The following project-scoped endpoints have no org-scoped equivalent, meaning clients cannot migrate off them even if desired. This tracks adding those equivalents.
These project scoped URLs don't need to change as they also have organization_id_or_slug as a route parameter so we can route requests that land on sentry.io
Closing based on the comment above: the project-scoped endpoints listed here include organization_id_or_slug in the route, so requests landing on sentry.io can already be routed. No org-scoped equivalents are needed for the routing goal.
Related client status: getsentry/toolkit#1482 is complete. The CLI's deprecated issue alert calls now all use /organizations/{org}/workflows/ (reads in getsentry/cli#1215, delete in getsentry/cli#1216, create/edit in getsentry/cli#1223). Its remaining project-scoped calls, such as replay recording segments and trace item details, can stay as they are.
Activity
linear-code commentedon Jul 2, 2026
ENG-8097
fix(alerts): read issue alert rules from org-scoped /workflows/ (#1215)
markstory commentedon Jul 10, 2026
These project scoped URLs don't need to change as they also have
organization_id_or_slugas a route parameter so we can route requests that land on sentry.iochore(api) Reduce the region pin list (#119438)
fix(api) Don't fanout across regions for GET /organizations (#1175)
sentry-junior commentedon Oct 16, 2026
Closing based on the comment above: the project-scoped endpoints listed here include
organization_id_or_slugin the route, so requests landing on sentry.io can already be routed. No org-scoped equivalents are needed for the routing goal.Related client status: getsentry/toolkit#1482 is complete. The CLI's deprecated issue alert calls now all use
/organizations/{org}/workflows/(reads in getsentry/cli#1215, delete in getsentry/cli#1216, create/edit in getsentry/cli#1223). Its remaining project-scoped calls, such as replay recording segments and trace item details, can stay as they are.