ghl_voice_ai_get_call_logs
Retrieve call logs for Voice AI agents, filtered by location, agent, contact, call type, action types, and date range. Supports sorting and pagination.
Instructions
List Call Logs Returns call logs for Voice AI agents scoped to a location. Supports filtering by agent, contact, call type, action types, and date range (interpreted in the provided IANA timezone). Also supports sorting and 1-based pagination. Endpoint: GET /voice-ai/dashboard/call-logs (Version header: v3; source: v3/voice-ai-v3.json) OAuth scopes: voice-ai-dashboard.readonly Pagination params: page, pageSize — pass them to page through full result sets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). | |
| sort | No | Sort direction. Applies only when sortBy is provided. | |
| sortBy | No | Field to sort by. Defaults to newest if omitted. | |
| agentId | No | Agent identifier. When provided, returns logs for this agent only. | |
| endDate | No | End date filter (Unix timestamp). Must be greater than startDate. Both startDate and endDate must be provided together. | |
| callType | No | Call type filter. | |
| pageSize | No | Page size (max 50). | |
| contactId | No | Contact IDs (comma-separated) to filter by. | |
| startDate | No | Start date filter (Unix timestamp). Must be less than endDate. Both startDate and endDate must be provided together. | |
| actionType | No | Action type filter for call logs (comma-separated ACTION_TYPE values) | |
| locationId | Yes | Location identifier. Filters results to this location. |