Agents
Update Advanced Settings
Toggle agent features such as optimized cost caching
PATCH
Update Advanced Settings
Toggle agent features. Currently the only setting isenable_initial_message_cache, which activates optimized cost pricing once the agent meets the eligibility threshold.
Endpoint
Path parameters
Agent UUID.
Request headers
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereMust be set to
application/jsonRequest body
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: trueon an ineligible agent fails with422. - Disabling the cache (
false) is always allowed.