Vapi dashboard UI is broken
# support
k
Although we made calls today March 3, in the dashboard it doesn't show them (rarely we also did calls yesterday but it is not showing them) Also it doesn't allow for single day selection https://cdn.discordapp.com/attachments/1346316158659330088/1346316159145873448/image.png?ex=67c7be21&is=67c66ca1&hm=9d42384f049148ebb9e192762cb754d3a8af343afe71f9642e1c5d0173c85823&
v
Hey there! 😊 It sounds like you're experiencing a couple of issues with the Vapi dashboard. Let's break it down: 1. **Calls Not Showing Up**: There are a few reasons why calls made on March 3 (or even yesterday) might not be appearing in the dashboard: - **Delay in Logging**: Sometimes, there can be a delay in the logging system, so the calls might show up after a little while. It's worth waiting a bit to see if they appear. - **Configuration Issues**: Make sure that logging for calls directed to fallback numbers is enabled. If there are any misconfigurations, it could prevent calls from being logged. - **Connection Issues**: If the calls didn't connect properly, they might not be logged at all. This can happen if there are issues with the telephony provider. 2. **Single Day Selection**: It seems like the dashboard might not support selecting a single day directly. However, you can try using the Vapi Analytics API to fetch data for a specific day. Here’s a quick example of how to do that:
Copy code
json
   curl --location 'https://api.vapi.ai/analytics' \
   --header 'Content-Type: application/json' \
   --header 'Authorization: Bearer token' \
   --data '{
       "queries": [
           {
               "name": "getAnalyticsByAssistantID",
               "table": "call",
               "timeRange": {
                   "start": "2025-03-03T00:00:00Z",
                   "end": "2025-03-03T23:59:59Z",
                   "step": "day"
               },
               "operations": [
                   {
                       "operation": "sum",
                       "column": "cost"
                   }
               ]
           }
       ]
   }'
Just replace the date in the request to match the day you want to check. If the calls still don't show up after some time or if you need more help with the API, feel free to reach out! I'm here to help! 👍 Sources:
- [Detailed Report on Missing Calls in VAPI Dashboard](https://discord.com/channels/1211482211119796234/1211483291191083018/1330990957650378762) - [Detailed Report on Selecting a Single Day in the Vapi Dashboard for Call Data](https://discord.com/channels/1211482211119796234/1211483291191083018/1334161680988377119)
k
@Vapi Support Bot how can I get it by all the assistants. So a total of what i spent today, in Mexico time
v
To calculate the total amount spent by all assistants today (March 3, 2025) in Mexico time, you can use the Vapi Analytics API. Here’s how you can do it: 1. **API Request**: You will need to make an API call to fetch the total cost for all assistants for today. Here’s an example of how to structure your request:
Copy code
bash
   curl --location 'https://api.vapi.ai/analytics' \
   --header 'Content-Type: application/json' \
   --header 'Authorization: Bearer token' \
   --data '{
       "queries": [
           {
               "name": "getAnalyticsByAssistantID",
               "table": "call",
               "timeRange": {
                   "start": "2025-03-03T00:00:00-06:00",  # Adjusted for Mexico time (UTC-6)
                   "end": "2025-03-03T23:59:59-06:00",    # Adjusted for Mexico time (UTC-6)
                   "step": "day"
               },
               "operations": [
                   {
                       "operation": "sum",
                       "column": "cost"
                   }
               ]
           }
       ]
   }'
Make sure to replace
Bearer token
with your actual API token. 2. **Timezone Adjustment**: Since you want the data in Mexico time, ensure that the
start
and
end
times in the request are adjusted to reflect the correct timezone (UTC-6 for most of Mexico). 3. **Check for Data**: After making the request, check the response to see the total amount spent for that day. If you have any issues or need further assistance with the API, feel free to ask! 😊 Source: - [Detailed Report on Calculating Total Amount Spent by All Assistants in Vapi Dashboard](https://discord.com/channels/1211482211119796234/1211483291111083018/1334161680988377119)
k
Hey @KalTakmi can you share your ORG_ID?