ChasingClouds
01/20/2025, 9:10 PMVapi
01/20/2025, 9:12 PMVapi
01/20/2025, 9:13 PMhttp
GET /calls?assistant_id={assistant_id}
You would replace {assistant_id}
with the actual ID of the assistant you're interested in. This request would return a list of calls associated with that assistant, and you could then count the number of calls in the response.
Since you're looking for an example, here's a hypothetical cURL command that demonstrates how to make such a request:
bash
curl -X GET "https://api.vapi.ai/calls?assistant_id=12345" \
-H "Authorization: Bearer {api_key}" \
-H "Content-Type: application/json"
In this command, replace {api_key}
with your actual API key and 12345
with the assistant's ID.
If you need further assistance with constructing the correct API request or if you have any other questions, please let me know!Vapi
01/20/2025, 9:13 PMVapi
01/20/2025, 9:13 PMChasingClouds
01/20/2025, 9:14 PMChasingClouds
01/20/2025, 9:31 PMMason | Building KOI
01/20/2025, 10:07 PMMason | Building KOI
01/20/2025, 10:07 PMChowderr
01/20/2025, 10:14 PMChasingClouds
01/21/2025, 7:46 PMVapi
01/21/2025, 7:46 PM