Repository navigation
feat(apidocs): Publish Explore saved queries list and create as experimental - #131237
Merged
Merged
Conversation
…imental List and create Explore saved queries move from EXPERIMENTAL to PUBLIC_EXPERIMENTAL with token operationIds and summaries. The list documents every query parameter the handler reads except the feature-gated formula filter, and the response fields get descriptions. No behavior change. Part of #131199
BYK
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #131199.
sentry-tui needs to list and save Explore queries through the generated
@sentry/apiSDK. Only published operations reach the SDK, and both of these areEXPERIMENTAL, which means unpublished.GET /organizations/{org}/explore/saved/(ExploreSavedQueriesEndpoint)EXPERIMENTAL→PUBLIC_EXPERIMENTALaslistOrganizationExploreSavedQueriesorganizations:visibility-explore-view), so experimental rather than a firm promisePOST /organizations/{org}/explore/saved/(same endpoint)EXPERIMENTAL→PUBLIC_EXPERIMENTALascreateOrganizationExploreSavedQueryThe saved query detail, starring and reorder routes aren't on the list, so they stay as they are.
Docs changes, checked against the handler and the serializer:
sortByis repeatable. Its list now matches the code:dateAddedinstead ofdateCreated, plusmostStarredandstarred. The description also says which keys take a-prefix.ExploreSavedQueriesParams.SORTis shared with the unpublished combined saved-queries list, which supports the same keys.exclude(owned/shared) andstarred(1) parameters. Theformulafilter is behind a feature flag, so it stays undocumented.ExploreSavedQueryResponsefield gets anApiDescription. No types change.idempotent_methods = frozenset(), because sending the create request again adds a second query.Behavior, permissions and responses stay the same. Compared with master, the spec only gains these two operations. The agent-token permission matrix picks up both rows; it needed the feature flag and a POST payload.
Moving sentry-tui or the CLI onto these operations waits for an
@sentry/apirelease that includes them.--
View Session [Sentry]