Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/pyai-com:pyai-com-speech-to-text-hear-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: PyAI Speech To Text (Hear) API
version: 2.14.0
description: 'Telephony-native Voice AI behind one bearer key:
- **Hear**, speech-to-text · `POST /v1/audio/transcriptions` (streaming + batch)
- **Speak**, text-to-speech · `POST /v1/audio/speech`, `GET /v1/voices`
- **Clone**, custom voices from a short clip · `/v1/voice/clones`
- **Cast**, auto-directed expressive voiceovers · `/v1/cast`
- **Dub**, asynchronous audio and video dubbing · `POST /v1/dub` (guide)
- **Cue configuration frames (reserved)**; Hear streams skip knowledge-base retrieval by default
- **Omni**, full-duplex agentic voice (speech-to-speech, grounded in your knowledge bases + tools) · `/v1/omni`
- **Knowledge Bases**, hosted grounding for Omni: create bases, add documents (file, URL, or text), crawl a public website, bind to agents or org defaults · `/v1/knowledgebases`
- **AMD API**, answering-machine detection: know *who or what* answered a call (human, voicemail, IVR, iPhone/Google screening, dead number) with the reason it decided · `wss …/v1/amd/stream` (Twilio Media Streams drop-in), `POST /v1/amd/config`, `GET /v1/amd/calls/{id}`
- **Agents Beta**, the live console feature to create, configure, test, and connect Omni voice agents without code. Beta features and limits may change. ## Identity, billing and authentication
- Before any generation or transcription, call GET /v1/me (MCP: whoami). Verify org_id, project_id, environment, scopes, limits and billing/credit context against the intended project. Do not infer identity or free usage from a key prefix or tool name. Stop on a mismatch or unknown budget; never switch to a live project automatically. - Test usage has enforced limits; live usage is billed. Current meters and rates: https://pyai.com/pricing. Agree a bounded input/request count before generating, and do not retry uncertain billable submissions blindly. Create a key in the console (it is shown once) and send it as a bearer token:
```
Authorization: Bearer pyai_live_... ```
Keys are environment-scoped: `pyai_live_...` (production) and `pyai_test_...` (sandbox). `POST /v1/sandbox/keys` creates an instant, short-lived test key without login or billing. Account signup also creates a sandbox key. Live keys consume prepaid credit; phone verification may unlock promotional credit under graduated-signup rules, but credit is not guaranteed at signup. Keys are self-validating signed tokens: they work on every PyAI surface the instant they are created, no activation or propagation delay. Treat them as opaque strings (up to 512 chars) and never parse their contents. Keep long-lived keys on trusted servers. For Omni browsers, mint an origin-locked short-lived token on your backend with POST /v1/omni/sessions; never expose a live or test API key in browser code. Offer the protocol marker and session token:
```
Sec-WebSocket-Protocol: pyai.v1, pyai-key. ```
(server-side clients may instead append `?api_key=...` to the URL). Your key is authenticated on the upgrade and never reaches the model. ## Quickstart, Hear (speech-to-text)
```
curl https://api.pyai.com/v1/audio/transcriptions \
-H "Authorization: Bearer $PYAI_API_KEY" \
-F file=@audio.wav -F model=pyai-hear
# -> { "text": "..." }
```
## Quickstart, Speak (text-to-speech)
```
curl https://api.pyai.com/v1/audio/speech \
-H "Authorization: Bearer $PYAI_API_KEY" \
-H "Content-Type: application/json" \
-d ''{"model":"pyai-speak","input":"Hello from PyAI.","voice":"voice_abc"}'' \
--output speech.wav
```
`voice` is a stock voice id from `GET /v1/voices` (the curated prebuilt catalog with personas and avatars) or a cloned voice id from `/v1/voice/clones`. Omit it to use the platform default voice (`stock_dorit_en_us`).'
contact:
name: PyAI
url: https://pyai.com
servers:
- url: https://api.pyai.com
description: Production
security:
- apiKey: []
- xApiKey: []
tags:
- name: Speech To Text (Hear)
description: Speech-to-text (streaming + batch)
paths:
/v1/audio/transcriptions:
post:
tags:
- Speech To Text (Hear)
summary: Transcribe audio
description: OpenAI-compatible transcription. Requires the `hear:transcribe` scope.
operationId: createTranscription
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
description: Audio file (wav, mp3, m4a, flac, ogg).
model:
type: string
default: pyai-hear
response_format:
type: string
enum:
- json
- text
- verbose_json
default: json
redact:
type: string
description: 'Opt-in STT text redaction for all organizations. Select pci, pii, phi, numbers, aggressive_numbers, or individual entity types. English contextual entity recognition; digit masking also handles other scripts. Applies after primary or recovery transcription, before text, words, segments, subtitles and callbacks are returned. Does not mute source audio. Unknown selectors return 400; unavailable protection fails closed. See /guides/stt-redaction. Multipart: comma-separated selectors or a JSON array string. true means numbers.'
language:
type: string
enum:
- en
- es
- fr
- de
- hi
- it
- pt
- nl
- zh
- yue
- ar
- id
- ko
- th
- vi
- ja
- tr
- ms
- sv
- da
- fi
- pl
- cs
- fil
- fa
- el
- hu
- mk
- ro
description: Supported language code. Omit for automatic language detection. Values outside the published set are rejected with `400 unsupported_language`, never silently auto-detected.
numerals:
type: boolean
description: 'Tri-state inverse-text normalization for English **final** transcripts (never interim partials). `true` renders spoken numbers as digits (phones, currency, dates, ordinals). `false` keeps those spans in spoken form. Omitted keeps the live engine default: number formatting is ON for finals. Independent of `smart_format`.'
smart_format:
type: boolean
default: false
description: Opt-in English punctuation and sentence capitalization on **final** transcripts only. Interim partials are never formatted. May change only case and punctuation; any failure returns the unformatted final. Default `false`. Independent of `numerals`. Non-English requests are unchanged.
dictation:
type: boolean
default: false
description: 'Opt-in spoken punctuation commands on English **final** transcripts only: `period`, `comma`, `new paragraph`, and `question mark`. Separate from `smart_format` and off by default. Interim partials are never rewritten.'
drop_fillers:
type: boolean
default: false
description: Opt-in stripping of filled pauses (`um`, `uh`, `umm`, `uhh`, `er`) on English **final** transcripts. Off by default. Do not enable on legal or compliance audio by default. Interim partials are never rewritten.
vocabulary:
type: string
description: Per-call phrase list (max 32 phrases, 64 characters each). Re-cases matching spans to the supplied form and boosts those phrases for this request only. Not a stored project glossary. Send a comma-separated list or a JSON array string.
seed:
type: integer
description: Optional determinism seed for reproducible eval runs. Forwarded to the engine and honored once the engine supports it; no effect when omitted.
temperature:
type: number
description: Optional sampling temperature for reproducible eval runs. Forwarded to the engine and honored once the engine supports it; no effect when omitted.
responses:
'200':
description: Transcription result. response_format=text returns raw UTF-8 text, without JSON quoting or escaping.
content:
application/json:
schema:
$ref: '#/components/schemas/Transcription'
text/plain:
schema:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
/v1/audio/transcriptions/stream:
get:
tags:
- Speech To Text (Hear)
summary: Stream transcription (WebSocket)
description: 'Upgrade to a WebSocket for streaming speech-to-text. Partial captions are optional and revisable. Protected streams can return finals only. Requires the `hear:stream` scope. The only frame protocol is `pyai-hear-v1`, the published frame catalog below. **Auth (trusted servers only):** send the key as a subprotocol, together with the `pyai.v1` marker: `Sec-WebSocket-Protocol: pyai.v1, pyai-key.` (server clients may use `?api_key=` instead). Offer both values: PyAI echoes only the marker and never reflects your key, and a 101 can only select a value the client offered. The key is validated and swapped for the internal upstream credential on the upgrade. Never expose a long-lived API key to browser code; proxy browser audio through your authenticated backend unless this product documents a scoped browser credential. Set `vocabulary` only when the session has known names, brands, products, or other distinctive terms. This biases known vocabulary only when supplied for the session or enabled through the stored `hear_stream` profile. Request terms take priority and the effective list is fixed when the session opens. Knowledge-base retrieval is off by default for plain transcription. Set `grounding=true` on the connect URL to opt in when the service has retrieval configured; it does not enable an unconfigured service. Omission or `grounding=false` skips retrieval. Retrieval may add a `grounding` list to `speech_final` and delays delivery while the bounded lookup completes. Opting out removes that lookup and its grounding add-on usage, while preserving transcript text, event order, and Hear usage. The option is fixed for the connection; only one lowercase `true` or `false` value is accepted. Invalid or repeated values return `400 invalid_grounding` before the WebSocket opens. **Client -> server:** stream mono little-endian PCM16 binary audio frames continuously at `sample_rate=8000` or `sample_rate=16000` (default). The service converts 8 kHz input before recognition and endpointing. Other formats are rejected with `400 unsupported_audio_format` before the WebSocket opens. Send a JSON `{"type":"commit"}` text frame to force-finalize the current utterance (e.g. when your VAD detects end-of-turn). Completion frames may have empty text when the utterance contains no recognized speech; retain these acknowledgments when draining pending commits. Closing the socket also flushes a final for any buffered audio. Set `endpointing_ms` on the connect URL or send `{"type":"config","endpointing_ms":800}` mid-session. It is the minimum trailing-pause length before an utterance may end. Turn detection may wait longer; an utterance always completes within `max(endpointing_ms, 1500 ms)` of streamed silence. Keep sending audio frames, including silence, while the caller pauses. Pausing the stream pauses the frame-driven clock. **Server -> client (JSON text frames):**
| `type` | When | Payload |
| --- | --- | --- |
| `config_ack` | after connect-time or mid-session endpointing config | `{endpointing_ms, effective_floor_ms, effective_ceiling_ms, score_interval_ms, warnings}`, the applied values and any validation warnings |
| `partial` | when an interim result is available | `{text, stable_text, active_text, utterance_id, t_ms}`, the live hypothesis for that `utterance_id` |
| `partial_stable` | when a prefix locks in | `{text, utterance_id, t_ms}`, the portion the recognizer no longer expects to revise |
| `speech_final` | on endpoint/commit | `{text, utterance_id, t_ms, audio_ms, endpoint_reason, start, end, words, word_timing_status}`, end of an utterance. Utterance bounds, word spans, and timing status are optional. |
| `final` | follows `speech_final` | `{text, utterance_id, t_ms, audio_ms, endpoint_reason, start, end, words, word_timing_status}`, corrected transcript. Save this version. Utterance bounds, word spans, and timing status are optional. |
| `transcript_gap` | temporary redaction outage | `{utterance_id, code}`.'
operationId: openTranscriptionStream
parameters:
- name: protocol
in: query
required: false
schema:
type: string
const: pyai-hear-v1
default: pyai-hear-v1
description: Canonical frame protocol. Omit to use the same `pyai-hear-v1` default.
- name: model
in: query
required: false
schema:
type: string
default: pyai-hear
description: Streaming STT model.
- name: grounding
in: query
required: false
schema:
type: boolean
default: false
description: Knowledge-base retrieval and grounding add-on usage are off by default. Set true to opt in when the service has retrieval enabled; omission or false skips retrieval. Fixed at connection start; send a single lowercase true or false. Invalid or repeated values return 400 invalid_grounding before upgrade. Transcript text, event order, and Hear usage are unchanged.
- name: language
in: query
required: false
schema:
type: string
enum:
- auto
- en
- es
- fr
- de
- hi
- it
- pt
- nl
- zh
- yue
- ar
- id
- ko
- th
- vi
- ja
- tr
- ms
- sv
- da
- fi
- pl
- cs
- fil
- fa
- el
- hu
- mk
- ro
- ru
default: auto
description: Omit or use auto to detect the spoken language automatically. An explicit supported language code pins recognition for the session. Unsupported explicit values are rejected at the upgrade with `400 unsupported_language`.
- name: sample_rate
in: query
required: false
schema:
type: integer
enum:
- 8000
- 16000
default: 16000
description: Input PCM sample rate in Hz. Send 8000 for 8 kHz telephony PCM; the service converts it before recognition and endpointing.
- name: encoding
in: query
required: false
schema:
type: string
enum:
- pcm16
default: pcm16
description: Mono little-endian 16-bit PCM. Compressed audio is not supported on this stream.
- name: word_timing_policy
in: query
required: false
schema:
type: string
enum:
- strict
- best_effort
description: Optional on timed streams. Accounts enabled for per-word coverage keep streaming by default when word times are missing. best_effort requests a normal close and a timing coverage summary. strict requests word_timings_failed (1011) if any timing remains incomplete.
- name: interim_results
in: query
required: false
schema:
type: boolean
default: true
description: Emit interim captions. With redaction, a verified prefix may appear while the speaker is talking. Some utterances go directly to a protected final.
- name: redact
in: query
required: false
style: form
explode: true
schema:
type: array
items:
type: string
enum:
- pci
- phi
- pii
- numbers
- account_number
- age
- bank_account
- credit_card
- credit_card_expiration
- cvv
- date
- date_interval
- dob
- email_address
- event
- filename
- gender_sexuality
- healthcare_number
- ip_address
- location
- location_address
- location_city
- location_coordinate
- location_country
- location_state
- location_zip
- money
- name
- name_given
- name_family
- name_medical_professional
- numerical_pii
- occupation
- origin
- passport_number
- password
- phone_number
- physical_attribute
- ssn
- time
- url
- username
- vehicle_id
- condition
- drug
- injury
- blood_type
- medical_process
- statistics
- language
- marital_status
- organization
- political_affiliation
- religion
- routing_number
- zodiac_sign
- aggressive_numbers
- 'true'
- expiration
- pin
- email
- us_phone
description: Opt-in STT text redaction for all organizations. Select pci, pii, phi, numbers, aggressive_numbers, or individual entity types. English contextual entity recognition; digit masking also handles other scripts. Applies after primary or recovery transcription, before text, words, segments, subtitles and callbacks are returned. Does not mute source audio. Unknown selectors return 400; unavailable protection fails closed. See /guides/stt-redaction. Repeat the parameter or use comma-separated values. Protected prefixes may arrive before the final. A verifier outage can emit a text-free transcript_gap, and unrecovered protection failures end the stream with redaction_failed.
- name: numerals
in: query
required: false
schema:
type: boolean
description: 'Tri-state inverse-text normalization for English **final** transcripts (never interim partials). `true` renders spoken numbers as digits (phones, currency, dates, ordinals). `false` keeps those spans in spoken form. Omitted keeps the live engine default: number formatting is ON for finals. Independent of `smart_format`.'
- name: smart_format
in: query
required: false
schema:
type: boolean
default: false
description: Opt-in English punctuation and sentence capitalization on **final** transcripts only. Interim partials are never formatted. May change only case and punctuation; any failure returns the unformatted final. Default `false`. Independent of `numerals`. Non-English requests are unchanged.
- name: dictation
in: query
required: false
schema:
type: boolean
default: false
description: 'Opt-in spoken punctuation commands on English **final** transcripts only: `period`, `comma`, `new paragraph`, and `question mark`. Separate from `smart_format` and off by default. Interim partials are never rewritten.'
- name: drop_fillers
in: query
required: false
schema:
type: boolean
default: false
description: Opt-in stripping of filled pauses (`um`, `uh`, `umm`, `uhh`, `er`) on English **final** transcripts. Off by default. Do not enable on legal or compliance audio by default. Interim partials are never rewritten.
- name: vocabulary
in: query
required: false
schema:
type: string
maxLength: 2048
description: Optional per-session terms for known names, brands, products, and other distinctive phrases. PyAI trims entries, removes case-insensitive duplicates, and keeps the first spelling and order. Entries shorter than 4 characters, longer than 64 characters, longer than 5 words, or made only of common words are ignored. At most 5 effective terms are used. When stored vocabulary is enabled for `hear_stream`, request terms come first and stored suggestions fill any remaining slots. The effective list is fixed for the session and does not select transcription language. Send a comma-separated list or a JSON array string.
- name: seed
in: query
required: false
schema:
type: integer
description: Optional determinism seed for reproducible eval runs. Forwarded to the engine and honored once the engine supports it; no effect when omitted.
- name: temperature
in: query
required: false
schema:
type: number
description: Optional sampling temperature for reproducible eval runs. Forwarded to the engine and honored once the engine supports it; no effect when omitted.
- name: endpointing_ms
in: query
required: false
schema:
type: integer
minimum: 50
maximum: 5000
description: Minimum trailing-pause length in milliseconds (50-5000, clamped) before an utterance may end. Turn detection may wait longer; an utterance always completes within `max(endpointing_ms, 1500 ms)` of streamed silence. The same setting can be changed mid-session with `{"type":"config","endpointing_ms":800}`. Both paths emit `config_ack`; assert that `warnings` is empty. A non-empty `warnings` means a value was not applied verbatim, but the session remains open. Timing counts only audio you stream, including silence, so pausing the stream pauses the clock. `{"type":"commit"}` still forces immediate end-of-turn on the STT socket.
- name: call_id
in: query
required: false
schema:
type: string
description: Stable call identifier used for the post-call Recap when Recap is enabled. Omit to use the stream session id.
- name: pack_id
in: query
required: false
schema:
type: string
pattern: ^[a-z0-9_]+$
description: Optional Recap pack for the post-call record.
- name: call_direction
in: query
required: false
schema:
type: string
enum:
- inbound
- outbound
description: Optional call direction attached to the post-call Recap.
responses:
'101':
description: Switching Protocols, the streaming transcription WebSocket is open.
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
/v1/hear/vocabulary:
get:
tags:
- Speech To Text (Hear)
summary: Get stored Hear vocabulary
description: Return the organization's stored custom vocabulary and its explicit activation profiles. Stored terms do not affect any transcription unless `enabled_for` includes `batch` or `hear_stream`. Requires the `hear:configure` scope.
operationId: getHearVocabulary
responses:
'200':
description: Stored Hear vocabulary settings
content:
application/json:
schema:
$ref: '#/components/schemas/HearVocabulary'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
put:
tags:
- Speech To Text (Hear)
summary: Set stored Hear vocabulary
description: Replace the organization's stored custom vocabulary and activation profiles. PyAI keeps at most five sanitized terms. Stored terms bias known vocabulary only for the profiles named in `enabled_for`. Per-job or per-session vocabulary comes first, then stored suggestions fill remaining slots up to five. Requires the `hear:configure` scope.
operationId: setHearVocabulary
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/HearVocabularyInput'
responses:
'200':
description: Updated Hear vocabulary settings
content:
application/json:
schema:
$ref: '#/components/schemas/HearVocabulary'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
components:
responses:
RateLimited:
description: 'Too many requests or too many concurrent realtime sessions; see Retry-After header (`code: rate_limit_exceeded | concurrency_limit_exceeded | daily_cap_exceeded`)'
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: 'Key lacks the required scope or the origin is not allow-listed (`code: forbidden | origin_not_allowed`)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Invalid request (bad field, unsupported value)
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
PaymentRequired:
description: 'Billing gate: org out of prepaid credit, per-key budget hit, or plan quota exhausted (`code: credit_exhausted | key_budget_exceeded | insufficient_quota`). Do not retry; add credit or raise the limit. A brand-new key may see this on its first call until the account is funded.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: 'Missing or invalid API key (`code: unauthorized`)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
ErrorCode:
type: string
description: Stable, machine-readable error code. Branch on this rather than the human `message`.
enum:
- invalid_request_error
- invalid_session_label
- unauthorized
- forbidden
- origin_not_allowed
- credit_exhausted
- key_budget_exceeded
- child_budget_exceeded
- insufficient_quota
- rate_limit_exceeded
- concurrency_limit_exceeded
- daily_cap_exceeded
HearVocabulary:
type: object
required:
- object
- terms
- enabled_for
- updated_at
properties:
object:
type: string
const: hear.vocabulary
terms:
type: array
maxItems: 5
items:
type: string
minLength: 4
maxLength: 64
description: The sanitized effective stored list.
enabled_for:
type: array
maxItems: 2
uniqueItems: true
items:
type: string
enum:
- batch
- hear_stream
updated_at:
type:
- integer
- 'null'
description: Unix milliseconds, or null when no settings have been saved.
HearVocabularyInput:
type: object
required:
- terms
- enabled_for
properties:
terms:
type: array
maxItems: 5
items:
type: string
minLength: 4
maxLength: 64
description: Organization-owned names, brands, products, and other distinctive terms. PyAI keeps the first five entries that pass the same sanitizer used by async jobs.
enabled_for:
type: array
maxItems: 2
uniqueItems: true
items:
type: string
enum:
- batch
- hear_stream
description: Explicit use cases that may use stored terms. An empty array stores the list without applying it.
Problem:
type: object
description: RFC 7807 problem+json returned by the control plane (request-validation and resource errors such as 400/404/409). The stable code is the last path segment of `type`.
required:
- title
- status
properties:
type:
type: string
description: Problem type URI; ends with the stable code.
title:
type: string
status:
type: integer
detail:
type: string
request_id:
type: string
Transcription:
type: object
properties:
text:
type: string
model:
type: string
Error:
type: object
description: OpenAI-compatible error envelope returned by the gateway data plane (401/402/403/429). Control-plane request/resource errors use Problem (application/problem+json) instead.
required:
- error
properties:
error:
type: object
required:
- message
properties:
message:
type: string
description: Human-readable explanation.
type:
type: string
description: Error category, e.g. rate_limit_error.
code:
$ref: '#/components/schemas/ErrorCode'
param:
type: string
nullable: true
description: Offending parameter when applicable, else null.
securitySchemes:
interpretationUpload:
type: http
scheme: bearer
description: Short-lived write-only upload_capability returned by POST /v1/audio/interpretations/recordings. Never use it for reads.
sessionCookie:
type: apiKey
in: cookie
name: pyai_session
description: Console session cookie. PyAI-admin routes also require the configured platform-admin email allowlist.
apiKey:
type: http
scheme: bearer
description: 'Use `Authorization: Bearer pyai_live_...` (or `pyai_test_...`).'
xApiKey:
type: apiKey
in: header
name: x-api-key
description: Header alias for bearer auth on HTTP endpoints. WebSocket auth uses the subprotocol pair `pyai.v1, pyai-key.<API_KEY>`.
x-pyai-agent-notes:
guide: https://pyai.com/agents/speech-calling.md
omni_frames: https://api.pyai.com/omni-frames.json
discovery: Inspect live operation schemas; preserve IDs and required Idempotency-Key headers. SDK-first for realtime. Never infer a simulated PSTN call endpoint.