CHUzLEE
07/17/2025, 4:47 PMChiranjeet Mishra
07/19/2025, 11:23 AMmessages field of the Vapi API response. However, it's important to clarify the purpose of each timestamp:
- `time`: This indicates when the message instance was created, which could be either the start of the bot’s response or the user input being captured.
- `endTime`: This is typically associated with the duration of the bot's response.
For calculating the bot's response time, consider measuring from the time the user finishes speaking (end of their message) to the start of the bot's response. This may not directly be endTime - time as you mentioned.
If there seems to be a discrepancy, ensure you are accounting for all contributing factors like API lag or network delays. For further assistance, it may help to check call logs for a detailed sequence of events, which can be accessed via your Vapi dashboard ([Debugging voice agents](https://docs.vapi.ai/debugging)).CHUzLEE
07/20/2025, 11:56 AMChiranjeet Mishra
07/26/2025, 1:46 PM