Skip to main content
PATCH

Update Advanced Settings

Toggle agent features. Currently the only setting is enable_initial_message_cache, which activates optimized cost pricing once the agent meets the eligibility threshold.

Endpoint

Path parameters

string
required
Agent UUID.

Request headers

string
required
Bearer token for authentication. Format: Bearer talq_your_environment_token_here
string
required
Must be set to application/json

Request body

boolean
When true, enables caching of the agent’s initial message audio for repeated outbound calls. Reduces voice synthesis cost per call. Requires the agent to be eligible — see Check Optimized Costs Eligibility.

Examples

Response

Error responses

422 Not Eligible

Notes

  • Eligibility is enforced server-side. Toggling enable_initial_message_cache: true on an ineligible agent fails with 422.
  • Disabling the cache (false) is always allowed.