Richard
11/19/2024, 5:44 PMVapi
11/19/2024, 5:47 PMVapi
11/19/2024, 5:47 PMRichard
11/19/2024, 5:52 PMVapi
11/19/2024, 5:52 PMassistantId
as a parameter, and it would return the cumulative call minutes for that assistant.
If you find that VAPI does not provide this data, you would need to implement it on your server:
1. Log each call's duration associated with an assistantId
.
2. Sum the durations for each assistantId
to calculate cumulative call minutes.
3. Expose an endpoint on your server that provides this data when requested.
For example, your own API endpoint might look something like this:
GET /api/assistants/{assistantId}/cumulative-call-minutes
This would return the cumulative call minutes for the specified assistant.
If you need assistance with setting up your own server to track and expose this data, please provide more details about your current setup, and I can guide you through the process. If you're looking for a specific VAPI endpoint and it exists, please refer to the VAPI documentation or ask their support for more information.Richard
11/19/2024, 5:53 PMShubham Bajaj
11/20/2024, 4:37 PMAPI Ref
https://docs.vapi.ai/api-reference/analytics/getShubham Bajaj
11/20/2024, 4:39 PMShubham Bajaj
11/20/2024, 4:39 PMRichard
11/20/2024, 5:25 PMRichard
11/21/2024, 6:36 AMShubham Bajaj
11/21/2024, 9:13 AM