https://retellai.com/?utm_source=discord&utm_medium=seo logo
how long do you keep recording file in your storag...
# ❓・ai-evy-support
j
@AI Evy how long do you keep recording file in your storage?
a
Thanks for tagging me @junkshaorou_97778. I'll look through relevant sources and get back to you shortly.
### Answer Retell AI stores session history and recordings indefinitely [(1) ]() . However, all session history and recordings will be permanently deleted if you choose to delete your account . You can manage data storage settings at the agent level [(2) ]() . By default, Retell AI stores call logs, transcriptions, call recordings, caller/callee IDs, knowledge base retrieved contents logs, dynamic variables, and metadata . You can opt out of sensitive data storage by navigating to your agent and selecting different storage options under Security & Fallback Settings → Data Storage Settings : - Everything — store transcripts, recordings, and logs - Everything except PII — store content, excluding PII when possible - Basic Attributes Only — store only metadata (no transcripts/recordings/logs) When you choose "Basic Attributes Only," no transcripts/recordings/logs are stored, and querying the call later won't return these fields .
​ To learn more, see the sources I considered: [[1] Monitor sessions via dashboard](https://docs.retellai.com/features/session-history) [[2] Data Storage Settings - Retell AI](https://docs.retellai.com/accounts/privacy-disable) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy thank you, addtionaly, webhook call_analyzed, is this being sent even when the callee does not pick up the call ?
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer --- Yes, the
call_analyzed
webhook is still triggered even when the callee does not pick up the call [(1) ]() . According to the webhook documentation, when a call does not connect (such as calls with
dial_failed
,
dial_no_answer
, or
dial_busy
disconnection reasons) , the
call_started
webhook will not be triggered . However, both the
call_ended
and
call_analyzed
webhooks will still be triggered . So in your scenario where the callee doesn't pick up, you should still receive the
call_analyzed
webhook containing the full call data including
call_id
and
call_analysis
.
j
@AI Evy i dont need words column in call_analayzed as its too large can I choose columns to receive?
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer Based on the available documentation, there is no built-in option to selectively choose which columns or fields to receive in the
call_analyzed
webhook payload [(1) ]() . The
call_analyzed
webhook is triggered when call analysis is complete and includes the full call data including the
call_analysis
object . The webhook payload contains the event type and the complete call object . However, there's a related issue documented in the community where large payloads (particularly for longer calls) can cause webhook delivery failures [(2) ]() . In one case, a
call_analyzed
webhook failed with error code 413 ("request entity too large") because the request was too large to send . If the
words
column in the transcript is causing payload size issues, you could: 1. Process the webhook on your server and filter out the
words
field before storing or forwarding the data 2. Consider adjusting your server's request size limits to accommodate larger payloads 3. Use the Get Call API instead to retrieve analysis results programmatically, where you have more control over which fields you query [(3) ]() The webhook sends the complete payload as designed, so filtering would need to happen on your receiving end rather than at the Retell AI webhook configuration level.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Call_Analyzed webhook event not working reliably for longer calls](https://discord.com/channels/1186424376300679209/1400191602206576790) [[3] Consume the analysis data](https://docs.retellai.com/features/post-call-analysis-consumption) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy can I see the payload somewhere
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer ### Answer Yes, you can see example webhook payloads in the documentation [(1) ]() . The webhook overview includes a sample payload showing the structure of webhook events . Here's an example of what a
call_ended
webhook payload looks like :
Copy code
json
{
 "event": "call_ended",
 "call": {
 "call_type": "phone_call",
 "from_number": "+12137771234",
 "to_number": "+12137771235",
 "direction": "inbound",
 "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
 "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "call_status": "registered",
 "metadata": {},
 "retell_llm_dynamic_variables": {
 "customer_name": "John Doe"
 },
 "start_timestamp": 1714608475945,
 "end_timestamp": 1714608491736,
 "disconnection_reason": "user_hangup",
 "transcript": "...",
 "transcript_object": [ [Object], [Object], [Object], [Object] ],
 "transcript_with_tool_calls": [ [Object], [Object], [Object], [Object] ],
 "opt_out_sensitive_data_storage": false
 }
}
The
call_analyzed
event follows a similar structure but includes the full call data with the
call_analysis
object . You can also see detailed call object structures in the Get Call API documentation, which shows all available fields including the transcript with words [(2) ]() . For live webhook payloads from your actual calls, you can inspect them in your webhook endpoint logs or use tools like webhook.site to capture and view the incoming webhook requests in real-time.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Get Call](https://docs.retellai.com/api-references/get-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
j
@AI Evy so, call_analyzed willalso include basic call info such as numbers ?
a
### Answer Yes, the
call_analyzed
webhook includes basic call information such as phone numbers [(1) ]() . The
call_analyzed
webhook is triggered when call analysis is complete and includes the full call object with the
call_analysis
field populated . This call object contains all the standard call information including
from_number
and
to_number
[(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() . According to the API documentation, the call object includes fields like: -
from_number
- The caller's phone number in E.164 format -
to_number
- The recipient's phone number in E.164 format -
call_id
,
agent_id
,
call_status
, and other metadata However, there's an important caveat: if you have "opt out sensitive data storage" enabled, the
from_number
may not be included in the
call_analyzed
webhook [(7) ]() . In that case, you would receive the
from_number
in the
call_started
or inbound webhook, and you can set it as a dynamic variable to receive it in
call_analyzed
.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.