Skip to main content
2026-06-19
One docs home + drift guards
  • docs.pyai.com is now the single home for everything: quickstart, guides, and the generated API reference. api.pyai.com/docs redirects here; api.pyai.com/openapi.json remains the machine-readable contract.
  • Quickstart verifies your key first. A new GET /v1/me step gives you a self-diagnosing first 200 in seconds before any audio call.
  • Docs can’t drift to dead ids. CI now fails if any sample uses a voice or model id that isn’t in the live catalog — every snippet stays copy-paste-runnable.
  • Example voice standardized to stock_emma_en_gb across the quickstart, guides, and SDK READMEs.
2026-06-16
Docs accuracy & unified API reference
  • REST reference unified in-site. The full OpenAPI reference now lives inside these docs under the API reference tab (generated from https://api.pyai.com/openapi.json) — no more bouncing to a separate page.
  • Hear streaming protocol corrected to match the live API: the engine emits bare frames (partial, partial_stable, speech_final, final, error); force-finalize with {"type":"commit"} (a bare {"type":"end"} is ignored); enable Cue grounding with {"type":"config","grounding":true}. See Stream speech-to-text.
  • Telephony output on Speak: request g711_ulaw / g711_alaw for native 8 kHz μ-law/A-law — no client-side resampling. New reference: Telephony audio with the exact integer resample ratios for the cases where you still convert yourself.
2026-06
Developer experience
  • New guides: browser voice agent, Twilio phone agent, and FreeSWITCH.
  • Official SDKs: @pyai/sdk (TypeScript/JavaScript) and pyai (Python), plus the pyai CLI smoke tester.
  • Idempotency-Key support and cursor pagination on transcription jobs.
  • Machine-readable error codes documented end to end (see Errors & limits).
  • Sandbox tier: pyai_test_ keys work instantly with no billing gate.