Dashboard & Call Logs Differences
# support
y
Hi Team, We encountered an issue where the data on the dashboard does not match the data in the call logs. When making a POST request to the /analytic API, we receive a number of records that align with the call logs, but not with what's displayed on the dashboard. Could you please clarify which API request would provide the data that corresponds to the correct values displayed on the dashboard? Additionally, how are the values in the "Number of Calls" field on the dashboard calculated or aggregated? What specific data is being summed or displayed in this field? Thank you!
v
@YanaM Hello! I'm here to assist you with your query regarding the mismatch between the dashboard data and the call logs. To ensure we're on the same page, the data displayed on the dashboard is typically aggregated from the underlying records, such as call logs, and it should reflect the most accurate and up-to-date information. To retrieve data that corresponds to the correct values displayed on the dashboard, you should use the appropriate API endpoint that provides aggregated metrics. In this case, you might want to use the
List Metrics
API endpoint. This endpoint will give you the aggregated data that should match the dashboard's "Number of Calls" field. The "Number of Calls" field on the dashboard is usually calculated by summing up the total number of individual call records over a specified period. This aggregation might include all calls or could be filtered by certain criteria such as call status (completed, missed, etc.), time frame, or other relevant filters. If you need to fetch the metrics data, you can make a GET request to the
/metrics
endpoint. Please ensure you include the necessary authorization header with your API key, which you can retrieve from your dashboard. If you require further assistance or if there's anything specific you'd like to know about the API request or the data aggregation, please let me know, and I'll be happy to help! If the issue persists, it may be best to reach out to support for a detailed investigation into the discrepancy.
You can continue this conversation by mentioning me in the message.
y
Thank you for your suggestion, but unfortunately, we couldn’t find any such requests or endpoints available for retrieving aggregated metrics corresponding to the "Number of Calls" displayed on the dashboard. Based on our current understanding, it seems there isn’t a specific API call that provides this type of aggregated data. If you have further insights or ideas, we’d be happy to explore them.
Hi Team, We are still waiting for the answer. It wolud be great to have it as soon as possible
s
@YanaM you can use both call and analytics. dashboard is working on UTC because of this you observed the difference, and slowly we are migrating to users local tz.
y
@Shubham Bajaj Thank you for your response, but I don’t think this issue is related to time zones. My dashboard shows 15 calls, while the call logs for the day show nothing. Could you please explain the logic behind how the data is displayed on the dashboard? How is the "Number of Calls" calculated, and which API request should I use to get the same figure that appears on the dashboard? Where exactly does the dashboard pull this data from? https://cdn.discordapp.com/attachments/1289193514302701678/1290234295860068464/Screenshot_2024-09-30_at_11.42.56.png?ex=66fbb7d3&is=66fa6653&hm=b1ada49dd7b8d0bd6af521442ad1d13f3dac75a41cfee39ecc2ebde787dc46dc& https://cdn.discordapp.com/attachments/1289193514302701678/1290234296098885672/2024-09-30_11.50.16.jpg?ex=66fbb7d3&is=66fa6653&hm=bff2be824d13a2aa35846259d661c3b764c96ecca2ec0def411b071e27393543&
Does anybody know how to fix this issue ?
s
the fix has been deployed try now.
y
@Shubham Bajaj We're using the https://docs.vapi.ai/api-reference/calls/list-calls endpoint to pull information on call logs, but the data from the API isn't matching up with the numbers we see on the dashboard. Could you help us figure out what might be causing this difference?
Additionally, the numbers shown on the dashboard appear to be multiplied by three. It's a bit strange
s
@YanaM it's because of time zone issue. currently code is on UTC timezone for all users which is causing mismatch. it's an frontend issue.
m
Hi guys, I was wandering if someone could explain to me how i can intergrate my assistant setting into my outbound calls in docs 'create call'. There isn't any options for stop speaking plan in 'create call' ?
s
@Matthewgentiluomo create a support ticket and explain it more clearly please.
7 Views