Skip to main content

Zero Data Retention

Zero Data Retention can be enabled at a persona level or at the session level (for ephemeral sessions). When enabled, Anam does not persist any customer content - including conversation transcripts, user audio, TTS text, LLM prompts/responses, or session recordings. Processing occurs in volatile memory only. Anam retains operational metadata necessary for billing, service delivery, and security, including: session timestamps and duration, usage metering, error codes, performance metrics, and infrastructure logs (retained for 30 days). Account-level data (organization info, API keys, subscription) is retained as standard. Support and troubleshooting capabilities may be limited for ZDR-enabled sessions. Zero Data Retention does not apply to any images used in one shot persona creation and/or any files uploaded to a persona’s knowledge base.

Enabling Zero Data Retention

Zero Data Retention can be enabled via the Advanced tab of the lab, or via persona configuration for either stateful or ephemeral personas. See the API Reference for more details.
const personaConfig = {
	name: "Cara",
	avatarId: "30fa96d0-26c4-4e55-94a0-517025942e18",
	voiceId: "6bfbe25a-979d-40f3-a92b-5394170af54b",
	llmId: "0934d97d-0c3a-4f33-91b0-5e136a0ef466",
	systemPrompt: "You are Cara, a helpful customer service representative. You're friendly, knowledgeable, and always try to solve problems efficiently. Keep responses conversational and under 50 words unless explaining something complex.",
	zeroDataRetention: true,
};
Not all LLMs and voices support zero data retention mode, when enabling zero data retention you may have to switch LLM or voice before you are able to publish and use your persona.