Repository navigation
feat(apidocs): Publish Seer runs list as experimental - #131252
Open
sentry-junior[bot] wants to merge 1 commit into
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
GET on the organization Seer runs endpoint moves to PUBLIC_EXPERIMENTAL as listOrganizationSeerRuns, with its query parameters and a typed response. SeerRunResponse and RunQuestionOutput get field descriptions. POST, which takes the same parameters from a body, stays EXPERIMENTAL. No behavior change. Part of #131199
gricha
approved these changes
Nov 16, 2026
This branch has not been deployed
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 lists an organization's Seer runs. It reads them through the generated
@sentry/apiSDK, which only has published operations. Of the Seer agent routes in #131199, only the runs list can be published as it stands.GET /organizations/{org}/seer/runs/(OrganizationSeerRunsEndpoint)EXPERIMENTAL→PUBLIC_EXPERIMENTALaslistOrganizationSeerRunsPOST /organizations/{org}/seer/runs/EXPERIMENTALorg:read. The agent-token permission matrix assumes every published non-GET needs a write scope, so publishing it would mean changing that harness. GET covers the use case.GET/POST /organizations/{org}/seer/explorer-chat/and…/explorer-chat/{run_id}/(OrganizationSeerAgentChatEndpoint)PRIVATEoverride_bash_mode_enabled,override_ce_enable,override_code_mode_enable,ui_tools). This needs its owners to decide on a public shape first.POST /organizations/{org}/seer/explorer-update/{run_id}/(OrganizationSeerAgentUpdateEndpoint)PRIVATEDocs for the published GET, checked against the handler:
query(the search keys fromclient.get_runs),expand=questionsand repeatedquestion(at most 5, each up to 4096 characters, ignored without the run-questions feature),statsPeriod/start/end,cursor,per_page. The description notes the page-size cap of 10 when questions are requested.list[SeerRunResponse]. That TypedDict andRunQuestionOutputgetApiDescriptionfield descriptions, which the response-coverage check requires.Seer.getdeclares itsResponse[...]type.Behavior, permissions and responses stay the same, and nothing breaks. The spec only gains this one operation.
The agent-token permission matrix picks up the GET row with the
seer-explorerfeature.Moving sentry-tui or the CLI onto this operation waits for an
@sentry/apirelease that includes it.--
View Session [Sentry]