Matthieu GARCIA
05/29/2025, 3:22 PMVapi Support Bot
05/29/2025, 3:23 PM/metrics endpoint has been removed and replaced by the /analytics endpoint.
To get similar information, use a POST request to /analytics with your queries. Here’s a quick example:
bash
curl -X POST https://api.vapi.ai/analytics \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"queries": [
{
"table": "call",
"name": "name",
"operations": [
{ "operation": "sum", "column": "id" }
]
}
]
}'
Update your integration to use this endpoint for metrics and analytics data.
Sources:
- [Changelog February 10, 2025](https://docs.vapi.ai/changelog/2025/2/10)
- [Analytics API Reference](https://docs.vapi.ai/api-reference/analytics/get)Kings_big💫
05/29/2025, 4:25 PMVapi Support Bot
05/29/2025, 4:26 PM/metrics endpoint has been removed.
To get the same information, use the POST /analytics endpoint with your query in the request body. Here’s a quick example:
bash
curl -X POST https://api.vapi.ai/analytics \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"queries": [
{
"table": "call",
"name": "name",
"operations": [
{ "operation": "sum", "column": "id" }
]
}
]
}'
Update your integration to use this endpoint for metrics and analytics data.
For more details, see the [Analytics API Reference](https://docs.vapi.ai/api-reference/analytics/get).
Sources:
- [Changelog February 10, 2025](https://docs.vapi.ai/changelog/2025/2/10)
- [Analytics API Reference](https://docs.vapi.ai/api-reference/analytics/get)