Update an agent
Partial update: present fields are set, null clears a field, absent fields are untouched. Config edits are live on the agent’s next call.
Authorizations
Use Authorization: Bearer pyai_live_... (or pyai_test_...).
Path Parameters
Body
Writable agent fields. On update, present fields are set, null clears, absent fields are untouched.
Display name. Required on create.
200The agent's entire character, role, policies, and business context.
32000Opening line spoken instantly on connect.
1000A stock voice id from GET /v1/voices or a cloned voice id.
Per-agent model selection. Omit for the platform default.
How eagerly the agent yields when talked over: low, normal, high, or an exact dBFS value.
Conversational-acknowledgment mode. Default auto.
Enable stereo call recordings. Default false.
Compliance line spoken first when recordings are enabled.
500Up to 16 key/value annotations (keys ≤64 chars, values ≤512 chars).
Vocabulary-boost terms for speech recognition (stored now; engine biasing rolls out per the keyterms roadmap).
100Goal checklist for post-call outcome scoring (stored now; scoring ships with summaries).
20Response
Updated agent
"agent"
"agent_7f3a0b12"
"default"
"normal"
"auto"
Unix seconds.