https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I retrieve inbound call logs that were not ...
# ❓・ai-evy-support
k
@AI Evy how do I retrieve inbound call logs that were not connected? Meaning the person calling ended de call before the agent had time to connect
a
Thanks for tagging me @krudy. I'll look through relevant sources and get back to you shortly.
### Answer You can retrieve inbound call logs—including those where the caller hung up before the agent connected—using the Retell AI API. The List Calls endpoint allows you to filter calls by criteria such as direction (inbound) , disconnection_reason (e.g., user_hangup) , and call status. This will let you find calls that were not connected because the caller ended the call early [(1) ]() . For example, you can use filter criteria like: - direction: "inbound" - disconnection_reason: "user_hangup" This will return inbound call logs where the user ended the call before the agent was connected .
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy how do I retrieve information from an inbound call with no ID? And also, what does it mean that the call has no ID?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer Every call handled by Retell AI is assigned a unique call_id, which is required to retrieve specific call information using the API [(1) ]() [(2) ]() [(3) ]() . If you do not have the call_id, there is no documented method to retrieve detailed information for that call directly. The call_id serves as the main identifier for accessing call logs and details [(3) ]() . A call with “no ID” means that either the call was never registered in the system (for example, if it failed before registration) , or you do not have access to its call_id. Without this ID, you cannot fetch or analyze its data using the available API endpoints . If you need to find calls and only have limited information (such as phone number or timestamps) , you would first list all calls or filter by known parameters to locate the relevant call_id, then use that ID to retrieve more details .
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[3] 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, @krudy. I'll get back to you soon.
k
@AI Evy it appears that the inbound call was cancelled from the client, but the agent did not created a call ID before that, even when the waiting time was 30 seconds. What can I do?
a
### Answer If an inbound call is cancelled by the client before a call ID is created (for example, if the caller hangs up before the agent connects) , there is no documented way to retrieve information about that call using the Retell AI API, since every API endpoint that provides call details requires a call_id as the main identifier [(1) ]() [(2) ]() [(3) ]() . If the system never generated a call_id—such as when the call fails or is abandoned before registration—there is no record accessible via the API. In this situation, you cannot fetch or analyze the call using Retell AI's available endpoints. The only calls you can retrieve are those that have been registered and assigned a call_id .
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[3] 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.
k
@AI Evy how long does it take for a call ID to get created?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer The exact time it takes for a call ID to be created is not specified in the available Retell AI documentation. However, every call that is registered in the system is assigned a unique call_id, which is required to retrieve or interact with call data via the API [(1) ]() [(2) ]() [(3) ]() . If a call is abandoned or cancelled before registration, a call_id is never generated, and there is no record accessible through the API .
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[3] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy how do I reduce the time that it takes my inbound agent to answer the call?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer To reduce the time it takes for your inbound agent to answer a call, ensure that your number is configured with an inbound agent and that your webhook (if used) responds quickly. The inbound call webhook waits up to 10 seconds for your endpoint to reply—if the response is slow, the call remains in the ringing state longer. Make sure your webhook endpoint returns a 2xx status promptly to minimize delay. If the webhook fails or is slow, Retell AI will attempt to connect to the default inbound agent if one is set, otherwise, the call is disconnected [(1) ]() .
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy how would I retrieve logs from an inbound call that ended with the tool invocation transfer call
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer You can retrieve logs from an inbound call that ended with a transfer (using the transfer call tool) by using the List Calls API endpoint and filtering for inbound calls where the disconnection_reason is "call_transfer" [(1) ]() . This will return call records where the transfer tool was invoked. You can then inspect the returned call objects for details such as transcripts, metadata, and transfer status. Example filter criteria for your query: - direction: "inbound" - disconnection_reason: "call_transfer" You can use the following approach:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list({
  filter_criteria: {
    direction: ['inbound'],
    disconnection_reason: ['call_transfer'],
  }
}) ;
console.log(callResponses) ;
This will list all inbound calls that ended because of a transfer, allowing you to review their logs and details.
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy how to know the client number on which the new agent is transferred?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer To know the client (callee) number on which the new agent is transferred during a call transfer, you should inspect the call log details for the transferred call. The List Calls API provides detailed call records, including metadata and phone numbers involved in the call. When a transfer is performed, the transferred call record will have a disconnection_reason of "call_transfer", and the call object will include fields such as from_number and to_number, which represent the caller and callee (the client number to which the new agent is connected) respectively [(1) ]() [(2) ]() . You can retrieve this information by filtering for calls with disconnection_reason "call_transfer" and then examining the to_number field in the resulting call objects .
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy after the transfer is made, will retell AI create a new Call ID for the next agent? Or will it stay with the original one
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer Whether a new Call ID is created after a transfer depends on the type of transfer performed: - If you use a traditional call transfer (cold or warm transfer to a new phone number) , the original call is ended and a new call is created for the transfer target. This means a new Call ID will be generated for the transferred leg [(1) ]() [(2) ]() . - If you use Agent Transfer (transferring the conversation from one AI agent to another within Retell AI, not a telephony-based transfer) , the original call remains active and no new Call ID is created—the entire conversation continues under the same Call ID [(3) ]() [(4) ]() . So, for call transfers to another number: new Call ID. For agent transfers within the platform: original Call ID is retained.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy the call history will show the time logs of the agents area code, or the time zone of the retell ai account
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer The available documentation does not specify whether call history time logs are shown in the agent's area code time zone or the Retell AI account's time zone. There is no explicit statement about the time zone used in the session history or call logs display [(1) ]() [(2) ]() . Check out these potentially useful sources: - [Monitor sessions via dashboard]() - [Platform Changelogs | Retell AI]() - [Create Web Call]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Monitor sessions via dashboard](https://docs.retellai.com/features/session-history) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy when the transfer call function is used, will the time of the initial call stop there? Or will it continue to count until the line has successfully transferred?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer When you use the transfer call function (cold or warm transfer to a new phone number) , the original call ends and a new call is created for the transfer target. The duration for the initial call (as shown in the logs and API) stops when the original call is ended and the transfer occurs. The new transferred leg receives its own call record and Call ID, and its duration is tracked separately from the initial call [(1) ]() .
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy the moment the AI says “hello” for a warm transfer, that hello line I still part of the first calls ID? Or the second?
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer When a warm transfer is performed using the transfer call function, the original call (first call ID) ends and a new call is created for the transfer target (second call ID) . The AI's "hello" or auto-greet message to the transfer target happens after the transfer, so it is part of the second call's session and will appear in the logs associated with the new (second) call ID, not the original call ID [(1) ]() .
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy then why do I se the “hello” transfer sentence in the first calls conversation log
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer According to the documentation, when you perform a warm transfer using the transfer call function, the original call ends and a new call is created for the transfer target. The AI's "hello" or auto-greet message should occur after the transfer, meaning it is part of the second call's session and should appear in the logs associated with the new (second) call ID, not the original call ID [(1) ]() . If you are seeing the “hello” transfer sentence in the first call's conversation log, this behavior is not explicitly described in the official documentation. The expected behavior is that the auto-greet ("hello") is logged in the second call, after transfer . Check out these potentially useful sources: - [Transfer call]() - [Platform Changelogs | Retell AI]() - [Create Phone Call]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
The warm transfer description says that the call will not be transferred if detects a voicemail or human response, which makes me believe they first agent confirms first, then transfer the call, that’s why it will still show in the first agents logs
@AI Evy The warm transfer description says that the call will not be transferred if detects a voicemail or human response, which makes me believe they first agent confirms first, then transfer the call, that’s why it will still show in the first agents logs
a
Thanks for the follow-up, @krudy. I'll get back to you soon.
### Answer The official documentation states that during a warm transfer, the AI agent attempts to detect if the transfer target is a human (not a voicemail) after the transfer target answers the call. The original caller is only connected once a human is detected. If auto-greet is enabled, the agent will immediately say “Hello” when the transfer target picks up, which is intended to encourage a response and help with human detection. This process happens after the call is transferred, and the expected behavior is that the AI's greeting (such as "hello") is part of the new (second) call session, not the original call [(1) ]() [(2) ]() . There is no documentation indicating that the first agent confirms with the transfer target before transferring the call or that the AI's greeting should appear in the first call's logs. The transfer is designed so that the original call ends and a new call (with a new Call ID) is created for the transfer leg, and the greeting should be logged under the new call . If you are seeing the “hello” or auto-greet message in the first call's logs, this is not described in the official documentation. The expected behavior is that the greeting is associated with the second call after transfer, not the first.
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.