sentry
Sentry API
Remove segment_names field from Replay responses; add webhookEvents to SentryApp
This diff makes two distinct changes:
segment_namesremoved: Thesegment_namesfield (nullablearray of strings) is removed from Replay response schemas across multiple endpoints, andsegment_namesis also removed from the valid enum values for thefieldquery parameter. Clients requestingsegment_namesas a field or reading it from replay responses will break.webhookEventsadded: A newwebhookEventsfield (array of strings, e.g.issue.assigned,issue.created, etc.) is added to SentryApp response schemas and marked as required in therequiredarray. This is a new response field that existing integrations can now read, but its addition torequiredmeans schema validators may flag existing responses that omit it.
Alert history
- Breaking
Remove segment_names field from Replay responses; add webhookEvents to SentryApp
This diff makes two distinct changes:
segment_namesremoved: Thesegment_namesfield (nullablearray of strings) is removed from Replay response schemas across multiple endpoints, andsegment_namesis also removed from the valid enum values for thefieldquery parameter. Clients requestingsegment_namesas a field or reading it from replay responses will break.webhookEventsadded: A newwebhookEventsfield (array of strings, e.g.issue.assigned,issue.created, etc.) is added to SentryApp response schemas and marked as required in therequiredarray. This is a new response field that existing integrations can now read, but its addition torequiredmeans schema validators may flag existing responses that omit it.
- Additive
Add segment_names field to session response
A new optional response field
segment_names(array of strings, nullable) has been added to session objects across multiple API responses. This field can now be marshaled in output by including it in field query parameters, and clients can optionally consume it without breaking existing integrations. - Informational
Remove alerts aspect info text from PagerDuty and Slack integration examples
The
aspects.alertsarray (containing informationaltype: infotext blurbs) has been removed from the PagerDuty and Slack integration metadata examples in the OpenAPI spec, replaced with an emptyaspects: {}object. These are example/documentation values in the spec rather than a schema change, so existing integrations are unlikely to break — but clients that parse or displayaspects.alertsfrom the API response may now receive an empty object instead of the info alert array. - Additive
Add outOfDate field to integration responses
A new optional boolean field
outOfDatehas been added to integration response schemas across multiple endpoints. The field is nullable and included in example responses with afalsevalue, allowing API clients to determine if an integration configuration is outdated. This is a purely additive change that does not affect existing integrations. - Additive
Add optional download parameter to get attachment endpoint
The
GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/attachments/{attachment_id}/endpoint now supports an optionaldownloadquery parameter that triggers binary file download instead of returning JSON metadata. This is purely additive—existing callers without the parameter continue to work unchanged. - Informational
Remove availability disclaimer from alert trigger descriptions
The phrase "Note:
seer_activity_triggermay not be available to all organizations." was removed from three identical alert trigger description fields in the OpenAPI schema. This is a documentation clarification that does not change the actual API behavior, endpoints, or response/request shapes. - Additive
Add enum constraints to level field in event responses
The
levelfield in multiple event response schemas now includes explicit enum constraints listing valid values:"sample","debug","info","warning","error","fatal", and"unknown". This change documents previously implicit constraints without removing any existing values, making the API contract more explicit and enabling better client validation. - Additive
Expand occurrence object schema with detailed field definitions
The
occurrencefield in multiple event response schemas is now fully documented with explicit property types, replacing an empty object definition. Previously defined as{}(any type), it now specifies a detailed structure includingid,projectId,eventId,fingerprint,issueTitle,subtitle,resourceId,evidenceData,evidenceDisplay,type,detectionTime,level,culprit,assignee, andpriorityfields. This is a documentation enhancement that does not break existing clients since the field was already present; it simply makes the structure more explicitly defined in the OpenAPI schema. - Additive
Add canvas_theme field to image objects, rename content_hash to key
The Sentry API adds an optional
canvas_themefield (enum: "light", "dark", null) to multiple image object schemas across replay and network monitoring endpoints. Additionally, thecontent_hashfield is renamed tokeyinhead_imageandbase_imageobjects. These are additive changes to response schemas that enable clients to specify or receive canvas theme information for replay images. - Additive
Document groupingConfig object schema in event responses
The
groupingConfigfield in event response schemas is now documented with explicit type information and required properties (idandenhancements). Previously it was defined as an empty object schema. This change clarifies the structure of event responses and helps clients understand what data they can expect, with no breaking changes to existing integrations. - Additive
Add integration issue config and linking endpoints
Added three new endpoints for managing integration-linked issues: a GET endpoint to retrieve issue configuration forms for creating or linking external issues, a POST endpoint to create or link external issues, and a DELETE endpoint to unlink external issues. These are purely additive and fully backward-compatible; existing integrations continue to work unchanged.
- Additive
Add seer_activity_trigger option to alert conditions
The Sentry API now documents a new
seer_activity_triggercondition type for alert triggers, which accepts comparison values for RCA (root cause analysis) workflow events (rca_started,rca_completed, etc.). This is an additive change that extends the available trigger conditions; a note clarifies the feature may not be available to all organizations yet. - Additive
Add enum constraints to issue and chart fields
The API schema adds
enumconstraints to response fieldsstatus,substatus,priority,confidence, andlegendTypeacross multiple endpoints and schemas. These fields were previously typed as plain strings but are now restricted to specific valid values. Since these changes add documentation of already-constrained values in responses (not modifying request contracts or narrowing accepted inputs), existing integrations reading responses with these values will continue to work. - Additive
Add relayDsnEndpoint field to organization response
The Sentry API adds a new optional nullable
relayDsnEndpointfield to organization response schemas, allowing clients to retrieve the Relay base URL used for displaying Client Key DSNs. This is a purely additive change that does not affect existing integrations. - Informational
Update example measurements in transaction schema
The OpenAPI schema example for the
measurementsfield in transaction objects has been expanded to include concrete measurement examples (measurements.frames_slow_rateandmeasurements.frames_frozen_rate). This is a documentation-only change that illustrates additional measurement types supported by the API without altering any actual endpoints or breaking existing integrations. - Additive
Add listOrganizationReleases endpoint and release schemas
A new endpoint
GET /api/0/organizations/{organization_id_or_slug}/releases/has been added to list organization releases with filtering by project, environment, and query parameters. Several new schema definitions have also been added to support this endpoint, includingReleaseFile,ReleaseFileUpload,ReleaseHeadCommitSerializerDeprecated, andReleaseSerializerWithProjects. These are purely additive changes that do not affect existing integrations. - Additive
Add isConvention field to attribute context metadata
The Sentry API now includes a new optional
isConventionboolean field in thecontextobject for attributes, along with updated documentation clarifying how attribute metadata is sourced from Sentry conventions by name and type. This is a backward-compatible addition that provides clients with information about whether an attribute matches a known convention. - Additive
Add optional webhookHeaders field to Sentry integrations
Added a new optional
webhookHeadersfield (array of strings) to custom integration response schemas and request schemas across multiple integration endpoints. This allows integration webhooks to include custom headers without breaking existing integrations that don't use this field. - Informational
Clarify data-browsing-attribute-context feature gate documentation
The
contextfield description in the API schema has been updated to clarify when thedata-browsing-attribute-contextfeature gate applies. The change restructures the documentation text but does not alter the actual API behavior, endpoints, or response structure — it is purely a documentation improvement for clarity. - Breaking
Remove plugin-related fields from issue and project API responses
The fields
pluginActions,pluginIssues,pluginContexts, andpluginshave been removed from multiple response schemas. These were previously required/documented fields on issue detail and project detail responses — clients that read or depend on any of these fields will encounter missing data. ThepluginActionsandpluginIssuesenum values have also been removed from theexpandquery parameter on issue endpoints. - Additive
Add mobile_app_vital field to transaction objects
A new optional
mobile_app_vitalfield has been added to transaction response objects in the Sentry API. This field mirrors the existingbrowser_web_vitalstructure, allowing clients to capture mobile application performance metrics like cold start, warm start, time to interactive, and time to fully drawable. Existing integrations are unaffected as this is a purely additive change. - Informational
Clarify snapshot image categorization behavior in docs
The
getOrganizationPreprodArtifactSnapshotendpoint description was updated to clarify how images are organized based oncomparison_type. The documentation now explicitly states that when a comparison exists (comparison_typeisdiff), the top-levelimagesarray is empty and images appear in categorized lists (changed,added,removed, etc.), while forsoloandwaiting_for_basesnapshots the categorized lists are empty and only theimagesarray is populated. The example response was also updated to reflect this with an emptyimagesarray. - Breaking
Remove required fields 'brief' and 'isDeprecated' from context object
The
requiredconstraint on thecontextresponse object has been removed, meaningbriefandisDeprecatedare no longer guaranteed to be present. Clients that assumed these fields were always present (e.g. accessing them without null-checks) may encounter runtime errors. The description update clarifies that custom attributes now receive an emptycontext, which explains why these fields can no longer be required. - Breaking
project query param type changed from integer to string
The
projectquery parameter type was changed fromintegertostring, and its description updated to accept either an ID or a slug. Clients that validate or serialize this parameter as a strictly numeric/integer type may break, though passing an integer as a string is typically backwards-compatible in practice. The broader concern is any strict-typed SDK or client that enforces theintegerschema. - Additive
Add seerMatchDistance field to group hash response
The API now includes a new seerMatchDistance field (nullable double) in group hash responses. This field indicates the match distance score when hashes are merged by Seer. The field is required in the schema but nullable in value, allowing clients to handle cases where a match distance is not available.
- Additive
Add optional context field to attribute metadata endpoints
A new optional
contextfield has been added to attribute response objects in two endpoints, providing additional metadata about Sentry conventions when theexpand=contextparameter is passed and thedata-browsing-attribute-contextfeature is enabled. This field includesbrief,isDeprecated,details,examples, andreplacementAttributeproperties, none of which break existing integrations since the field is optional and only populated under specific conditions. - Additive
New required field `browser_web_vital` added to span response objects
A new
browser_web_vitalfield (typeobject) has been added to span response objects in two schema locations. It is listed as required in the response schema, meaning the API will always return it — this is additive for consumers reading the field, but clients doing strict schema validation against the old spec (which lacked this field) may need to update their models. The field contains browser Core Web Vitals metrics such asbrowser.web_vital.lcp.value,browser.web_vital.cls.value,browser.web_vital.inp.value,browser.web_vital.ttfb.value, andbrowser.web_vital.fcp.value. - Informational
operationId refactoring: camelCase IDs and added summary fields
All
operationIdvalues have been converted to camelCase (e.g.listOrganizations,getOrganization) and matchingsummaryfields have been added to preserve the original human-readable titles. This is a purely internal documentation reorganization —operationIdis not a versioned API contract and does not affect request/response behavior. - Breaking
Filter rule `id` field type changed from string to integer
The
idfield on filter/rule group objects has been retyped from"type": "string"to"type": "integer"in 7 places across the spec. Clients that treat this field as a string (e.g. storing it as"123", comparing with===, or passing it in a string-typed variable) will break when the API returns or requires a numeric value instead. - Additive
Add optional team name field and query parameters
Added optional
namefield to team objects (max 64 chars), marked two endpoints as deprecated (Submit User FeedbackandList a Project's Issues), and added new optional query parameterssortandlimitto the issues endpoint plusprojectandper_pageto an unspecified releases/projects endpoint. These changes are additive; deprecation markers inform clients of planned removals without breaking existing functionality. - Additive
Add optional per_page query parameter to listing endpoints
Two listing endpoints now accept an optional
per_pagequery parameter to control pagination result size. The parameter accepts integer values with a default and maximum of 100. This is a purely additive change that allows clients more control over pagination without affecting existing code. - Additive
Add pr_iteration to autofix step enum
A new enum value
pr_iterationhas been added to the autofix step parameter in two Sentry API endpoints. This is an additive change that allows clients to use a new optional step type without breaking existing integrations that use the previous enum values. - Additive
Monitor and Notification Action endpoints now accept project IDs
The Sentry API now accepts project IDs in addition to project slugs for monitor and notification action endpoints. The
projectparameter schema for monitors is expanded to accept bothinteger(ID) andstring(slug) types, and documentation is updated across multiple endpoints to reflect this new capability. This is backward compatible and enables additional flexible project identification. - Additive
Allow project slugs in addition to IDs in query filters
The
projectquery parameter on three endpoints now accepts both integer project IDs and string project slugs (viaanyOfschema union), whereas it previously accepted only integers. This is backward-compatible because existing integer-based code will continue to work. Additionally, documentation for theyAxisparameter on the timeseries endpoint was expanded with detailed examples of available aggregation functions, and a note about accuracy limitations for certain query patterns was added to the endpoint description. - Additive
Add heatmap visualization type option
A new enum value
heatmaphas been added to visualization type fields across multiple dashboard/widget endpoints in the Sentry API. This is a purely additive change that expands the available visualization options without breaking existing integrations that use other visualization types. - Deprecation
Deprecate project_id query param; add project param
The
project_idquery parameter is now deprecated on release endpoints in favor of a newprojectparameter that accepts both integer IDs and string slugs. The newprojectparameter overridesproject_idwhen both are provided, allowing more flexible project filtering. - Additive
Accept project slugs in project filter parameter
The
projectquery parameter now accepts both integer project IDs and string project slugs (e.g.,androidorjavascript-react), expanding the ways to filter events and issues. Additionally, the Autofix API now includes a newsentry_run_id(UUID) field while retaining the legacyrun_id(integer) field for backward compatibility. - Breaking
GET endpoint for downloading snapshot images as ZIP removed
The
GET /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/endpoint has been removed from the API spec. Any clients calling this endpoint to download snapshot images as a ZIP archive will receive a 404 or routing error, breaking their integration. - Breaking
Remove `setupDialog` field from integration provider response schema
The
setupDialogfield has been removed from the integration provider object schema in the response for listing available integrations. It was previously a required field (objecttype withadditionalProperties) containingurl,width, andheightfor the setup dialog. Any client code readingsetupDialogfrom integration provider responses will now receiveundefined/missing and may break if it doesn't guard against absence. - Breaking
GetReplayRecordingSegment response changed from array to typed object
The
200response schema for the "Retrieve a Replay Segment" endpoint has changed from an array of arbitrary objects (arrayofobjectwithadditionalProperties) to a typed object with a requireddataproperty containingreplayId,segmentId,projectId, anddateAddedfields. This is a breaking change: any client code iterating over the response as an array, or accessing raw segment event data (e.g.type,timestamp,data.tag), will break. The new shape wraps metadata indataand no longer returns the raw recording segment events. - Additive
Allow null values in debug configuration fields
Three debug configuration schema objects now allow
nullvalues by adding"nullable": trueto their definitions. This is backward compatible — existing code sending non-null values will continue to work, and clients can now optionally handle null values for these fields. - Informational
OutgoingNotificationAction schema fully defined, replacing additionalProperties
The
OutgoingNotificationActionschema (and corresponding inline response schemas for spike-protection notification action endpoints) was previously defined as"additionalProperties": {}(i.e. an opaque object). It now has explicit properties:id,organizationId,integrationId,sentryAppId,projects,serviceType,triggerType,targetType,targetIdentifier, andtargetDisplay, all marked as required. Additionally, example values foridandorganizationIdwere corrected from strings ("836501735") to integers (836501735), aligning with the newintegertype declarations. This is a documentation/schema clarification — the underlying API behaviour has not changed, but client code generated from the old schema (which accepted any shape) may now be validated against a stricter schema. - Additive
Add avatarUrl field to avatar objects across team endpoints
The
avatarUrlfield is being added toavatarobjects in multiple team-related API responses (create team, retrieve team, update team, list teams, remove member, add member). This is a purely additive change that provides an additional optional field in the response without removing or modifying existing fields, so existing clients will continue to work unaffected. - Breaking
Replays list response wrapped in a `data` envelope object
The 200 response schema for the replays list endpoint changed from a top-level array to an object with a required
dataproperty containing that array. Clients that currently index directly into the response array (e.g.response[0]) will break and must be updated toresponse.data[0]. A second, similar wrapping change is visible for the individual replay response schema as well. - Additive
Add PUT endpoint for bulk updating project environments
A new
PUTendpoint was added to bulk update the visibility (hidden/shown) of multiple project environments at once. This is a purely additive change that allows clients to show or hide up to 1000 environments in a single request, requiringproject:adminorproject:writescopes. - Additive
Add new fields to issue schema and structure object fields
Two sets of additive changes to issue schemas: (1) new nullable fields
matchingEventIdandmatchingEventEnvironmentadded to issue objects, now marked as required in the schema; (2) theinbox,owners, andsentryAppIssuesobject fields previously defined as open objects (additionalProperties: {}) are now explicitly structured with defined properties and required fields, improving schema specificity without breaking existing integrations. - Additive
Add format constraints and nullable to DSN key fields
The Sentry API schema now marks the
publicKeyfield asnullable: trueand addsformat: date-timeconstraints tofirstSeenandlastSeenfields in DSN key response schemas. These changes clarify the API contract without removing or breaking existing functionality — clients already handling these fields will continue to work. - Additive
Add optional project query parameter
A new optional
projectquery parameter has been added to filter results by project IDs (as an array of integers). This is purely additive and provides an alternative way to filter by projects; existing integrations using the existingproject_id_or_slugparameter continue to work unchanged. - Informational
Add pagination documentation links to cursor parameter
Added
x-learn-moremetadata field pointing to pagination documentation (https://docs.sentry.io/api/pagination/) to thecursorquery parameter across 30 endpoints. This is a documentation enhancement that does not alter the API's functional behavior or response schemas. - Breaking
GET /api/0/projects/.../users/ response schema expanded with required fields
The
GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/users/endpoint's response schema was replaced with a much richer object. The old schema only requiredusername(nullable) andemail(nullable); the new schema requires 8 additional non-nullable fields:avatarUrl,dateCreated,hash,id,identifier,ipAddress,name, andtagValue. Additionally, the required OAuth scope changed fromproject:readalone toproject:admin,project:read, orproject:write, and thecursorparameter now hasminLength: 1. Clients that previously received onlyusername/emailmay need to handle the new shape, and tooling that validated the old minimal schema will now see unexpected required fields.