1curl -X POST https://api.vapi.ai/reporting/insight/preview \2 -H "Authorization: Bearer <token>" \3 -H "Content-Type: application/json" \4 -d '{5 "type": "bar",6 "queries": [7 {8 "type": "vapiql-json",9 "table": "call",10 "column": "id",11 "operation": "count"12 }13 ]14}'
1{2 "id": "string",3 "insightId": "string",4 "orgId": "string",5 "createdAt": "2024-01-15T09:30:00Z",6 "updatedAt": "2024-01-15T09:30:00Z"7}
format: "date-time"
Retrieve your API Key from Dashboard.