Repository navigation
docs(examples): add resumable Calls V2 examples - #90
Merged
Merged
Conversation
This was referenced Oct 8, 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.
Summary
Add complete Python SDK and Ruby HTTP Calls V2 examples that save the original request and key before submission, save the resource ID before waiting, and resume the same operation after a timeout or lost response.
Point quickstart, authentication, Calls and SDK guidance to these examples and pin published SDK 1.0.1. Existing legacy examples remain available under their original filenames for historical call-task IDs.
API contract
Not changed. The examples follow the existing public
/v2/callsOpenAPI contract.Evidence
After: Python and Ruby start/resume flows completed real official-hotline calls with SDK 1.0.1 / HTTP V2, preserved the original request and ID, and saved schema-valid available results and transcripts. The local reader preserved the real response fields. Ruby recovered a temporary create rejection using its unchanged saved request and key.
pnpm run validatepassed, including build, deployment checks and 32 Playwright tests. Example checks andgit diff --checkpassed.Checklist
pnpm run validate.Merge Danger
Door: two-way
Revert the new files and links to roll back. No schema or stored-data migration is performed.
Blast Radius: examples
Each intentionally new
startcan place a real call;resumepreserves the saved operation. No merge or production publication is included.