curl --request GET \
--url https://app.closerx.ai/api/v2/dashboard_top_cards_data_v2/ \
--header 'Company-Name: <company-name>' \
--header 'api_key: <api-key>'{
"total_outbound_calls": 123,
"success_rate": 123,
"call_duration": {
"overall": {
"average": 123,
"peak": 123,
"low": 123
},
"daily": {
"average": 123,
"peak": 123,
"low": 123
},
"weekly": {
"average": 123,
"peak": 123,
"low": 123
},
"monthly": {
"average": 123,
"peak": 123,
"low": 123
},
"rate_of_change_call_duration": 123
},
"success_rate_breakdown": {
"daily": 123,
"weekly": 123,
"monthly": 123,
"rate_of_change_success_rate": 123
},
"ai_accuracy_rate": {
"ai_accuracy": 123,
"total_sentiment": 123,
"transcription_rate": 123,
"rate_of_change_ai_accuracy_rate": 123
}
}Returns the call success rate,average response time,ai accurary rate and total balance
curl --request GET \
--url https://app.closerx.ai/api/v2/dashboard_top_cards_data_v2/ \
--header 'Company-Name: <company-name>' \
--header 'api_key: <api-key>'{
"total_outbound_calls": 123,
"success_rate": 123,
"call_duration": {
"overall": {
"average": 123,
"peak": 123,
"low": 123
},
"daily": {
"average": 123,
"peak": 123,
"low": 123
},
"weekly": {
"average": 123,
"peak": 123,
"low": 123
},
"monthly": {
"average": 123,
"peak": 123,
"low": 123
},
"rate_of_change_call_duration": 123
},
"success_rate_breakdown": {
"daily": 123,
"weekly": 123,
"monthly": 123,
"rate_of_change_success_rate": 123
},
"ai_accuracy_rate": {
"ai_accuracy": 123,
"total_sentiment": 123,
"transcription_rate": 123,
"rate_of_change_ai_accuracy_rate": 123
}
}The name of the schema to be used for the request
Dashboard data response