feat(api): add response_model= to remaining analytics endpoints (#5317)#5821
Merged
mrveiss merged 2 commits intoDev_new_guifrom Apr 24, 2026
Merged
feat(api): add response_model= to remaining analytics endpoints (#5317)#5821mrveiss merged 2 commits intoDev_new_guifrom
mrveiss merged 2 commits intoDev_new_guifrom
Conversation
…vation, usage, structured_thinking_mcp (#5317) - workflow_export.py: 7 endpoints annotated (WorkflowExportResponse, WorkflowValidateImportResponse, WorkflowImportResponse [x2], WorkflowShareResponse, WorkflowUnshareResponse, WorkflowListSharesResponse) - rum.py: 7 endpoints annotated (RUMConfigResponse, RUMEventResponse, RUMDisableResponse, RUMClearResponse, DataResponse, RUMStatusResponse, RUMMetricsResponse) - registry.py: 7 endpoints annotated (RegistryEndpointsResponse, response_model=None for /routers opaque dict, RegistryRouterDetailResponse, RegistryTagsResponse, RegistryTagRoutersResponse, RegistryValidateResponse, RegistryHealthResponse) - elevation.py: 7 endpoints annotated (ElevationRequestResponse, ElevationAuthorizeResponse, ElevationStatusResponse, ElevationExecuteResponse, ElevationPendingResponse, SuccessResponse, ElevationHealthResponse) - usage.py: 6 endpoints annotated (UsageSummaryResponse, UsageByUserAllResponse, response_model=None for opaque /by-user/{user_id} and /me, UsageRecordResponse, response_model=None for StreamingResponse CSV export) - structured_thinking_mcp.py: 6 endpoints annotated (List[MCPTool], response_model=None for dynamic Metadata endpoints, StructuredThinkingClearResponse, response_model=None for /sessions/{id}, StructuredThinkingSessionsResponse) - schemas_common.py: 22 new Pydantic models added in new sections per file
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.
Summary
response_model=annotations to remaining analytics API endpoints not covered in previous batchesBehavioral grep audit
N/A — response_model= annotations only, no behavior changes.
Closes partially contributes to #5317