Skip to content

docs(calls): add failed-call retry example - #100

Merged
JJasonSun merged 1 commit into
mainfrom
docs/v2-retry-example-234
Oct 29, 2026
Merged

JJasonSun merged 1 commit into
mainfrom
docs/v2-retry-example-234

Conversation

@JJasonSun

Copy link
Copy Markdown
Contributor

Summary

Add a worked V2 Calls example for recovering a failed Call and deliberately placing another call.

same saved request + original key → original Call ID and failed state
same saved request + new key      → a new Call ID
lost response                    → replay that attempt's request and key

The example links to uncertain-submission guidance before another call is attempted.

Related to CALLE-AI/awesome-phone-call-agents#234.

API contract

Not changed.

Evidence

  • Before: the Calls guide described idempotency rules without a worked failed-call retry example.
    After: the guide includes both curl requests, the replay response fields, and recovery instructions for a lost response.
  • On October 29, the shell blocks extracted from this MDX passed bash -n and real API verification. An existing failed V2 Call replay returned HTTP 202 with the original ID and failed state. In a separate official-test-hotline case, a new key created a different Call, replaying that key returned the new ID, and the new Call completed with its result available. No network timeout was injected.
  • pnpm run validate passed: type checking, build, distribution checks, 13 deployment tests, transcript examples, 2 result-reader tests, and all 32 Playwright tests. The built retry section was also inspected locally.

Merge Danger

Door: two-way. Reverting this documentation commit removes the example.

Blast Radius: documentation. The change affects one guide; API behavior, dependencies, and deployment configuration are unchanged.

Checklist

  • I kept the change focused and public-facing.
  • I removed secrets, private URLs, phone numbers, and customer data.
  • Any OpenAPI change describes behavior supported by the public API. (No OpenAPI change.)
  • I updated tests when observable site behavior changed. (No site behavior change; existing checks passed.)
  • I added screenshots for visual changes. (No layout or styling change.)
  • I ran pnpm run validate.

@JJasonSun
JJasonSun merged commit 8991479 into main Oct 29, 2026
1 check passed
@JJasonSun
JJasonSun deleted the docs/v2-retry-example-234 branch October 29, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant