docs(telemetry): list session create/add_message endpoints + SDK methods (#1943)#1958
Merged
qin-ctx merged 2 commits intoMay 11, 2026
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
qin-ctx
approved these changes
May 11, 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.
Source: #1943 (zhoujh01 merger / MDNDDD author 2026-05-09T10:12Z)
feat(server): add operation telemetry for session create/add_message/commit APIswrapssession.create,session.add_message, andsession.commitHTTP handlers withrun_operationso callers can opt in viaTelemetryRequest. The "Supported operations" lists in the operation-telemetry guide were not updated to surface the new endpoints / SDK methods.This PR mirrors the new surface bytewise into both EN and ZH guides:
HTTP API list — added two endpoints alongside the existing
commit:POST /api/v1/sessionsPOST /api/v1/sessions/{session_id}/messages(verified at
openviking/server/routers/sessions.pylines 72/92telemetry: TelemetryRequest = FalseonCreateSessionRequest/AddMessageRequest, lines 114/290@router.post("")and@router.post("/{session_id}/messages"))Python SDK list — added two top-level methods alongside the existing
commit_session(...):create_session(...)add_message(...)(verified at
openviking/async_client.pylines 131/170 +openviking/sync_client.pylines 42/75; both accepttelemetry: TelemetryRequest = False)Session.commit(...)(instance method on the Session class) is already listed;Session.add_message()atopenviking/client/session.py:38does not accept atelemetrykwarg and just delegates toclient.add_message(...)without it, so it is intentionally not added to the SDK list to avoid misleading users into a non-functional opt-in path on the Session helper.8 LOC additive (4 EN + 4 ZH bullets), no other content touched.