Get agent executions list (per-call records)
Call Logs
Call Summary(Agent Wise)
GET
Get agent executions list (per-call records)
Retrieve per-call records (executions) for agents. This endpoint returns detailed call-level records (transcripts, audio paths, durations, dispositions, etc.) and supports multiple filters.
API Endpoint
GET/api/v1/global/agents/executions/list
Content-Type: application/json
Authentication: Required (API token validated by middleware apiauth.verifyToken). Provide token via header token or api_access_token.
Query Parameters
Note: The handler accepts parameters from req.query (GET). The underlying implementation also supports similar filters for POST bodies in the agent controller, but this global route is exposed as GET.
Example Requests
Get executions for an agent (GET)
Filter by calling number (partial)
Filter by audio availability and transcript
Filter by disposition and sentiment
Successful Response (200)
Returns an object withdatalist containing call execution records. Each record includes many fields; the key fields are listed below. The controller formats durations and dates (e.g., total_duration as 1h:2m:3s, date, time).
Field Notes
total_durationis formatted by the controller asXh:Ym:ZsorMm:Ssstyle for readability (the DB stores seconds).RETURN_DATAis filtered to remove some internal fields;cost_breakdownmay be moved intoRETURN_DATA.cost_breakdownif present.FILE_PATHis the URL to audio recording (if available).TRANSCRIPTmay be null or empty if speech-to-text was not produced.VOICE_QUALITY_FEEDBACKis a numeric rating stored for voice analysis (e.g., upvote/downvote).agent_nameis provided via join with agent details when available.
Pagination
- The endpoint accepts
pageandlimitto paginate results. The controller applieslimitandoffsetwhen querying. - Note: the current implementation returns only
datalist(array) and does not include pagination metadata (totalRecords,totalPages) in the response. Usepageandlimitto page through results.
Error Responses
400 Bad Request
401 Unauthorized
500 Internal Server Error
Important Notes & Recommendations
- Use narrow date ranges (≤ 3 months) for faster queries. The underlying controller defaults to 1 month if
fromdate/todateare omitted. - For more aggregate/grouped metrics use
/api/v1/global/agents/call-history(agent-level summary). - For export of conversational data (Excel), the system provides a separate endpoint (
downloadConversationalData) which streams an XLSX. - If you need pagination metadata added to the response, we can update the controller to include
totalRecordsandtotalPages.

