VICIdial icon

VICIdial

Interact with VICIdial Non-Agent API

User Agent Management → Agent Stats Export

AI-generated

Summary

Export agent statistics from the VICIdial system.

Inputs

  • baseURL (required) — Base VICIdial URL (no trailing /vicidial portion).
  • function (required) — API function name; defaults to 'agent_stats_export'.
  • user — User name from the VICIdial credential.
  • pass — Password from the VICIdial credential.
  • source — Source from the VICIdial credential.
  • datetime_start (required) — Start datetime for filtering results (format: YYYY-MM-DD HH:MM:SS).
  • datetime_end (required) — End datetime for filtering results (format: YYYY-MM-DD HH:MM:SS).
  • agent_user — Agent user ID for specific statistics.
  • campaign_id — Campaign ID to filter the statistics.
  • user_group — User group for filtering.
  • stage — Output format (options: csv, tab, pipe, json).
  • header — Option to include headers in the output (YES/NO).
  • time_format — Format for time representation (options: H, HF, M, S).
  • group_by_campaign — Whether to group results by campaign (YES/NO).
  • requestOptions — Additional request options such as batching and SSL settings.

Output shape

a list of agent statistics

Returns formatted statistics based on the specified criteria.

Discussion