Task management metrics at timestamp level

we are currently investigating the content of the various workitems (Task Management) APIs, and we have some questions regarding these APIs.

For the Workitem data, we are looking for the following details:

Example situation:

  1. A Workitem is made available in Genesys in the Cloud on 01-01-2025 at 10:00:24.
  2. The Workitem is routed to Agent 1 on 01-01-2025 at 14:10:25.
  3. Agent 1 has a focus duration for this Workitem of 9 minutes.
  4. Agent 1 parks the Workitem on 01-01-2025 at 14:19:23.
  5. The Workitem is routed to Agent 2 on 02-01-2025 at 09:23:21.
  6. Agent 2 has a focus duration of 10 minutes and closes the Workitem at 09:40:00.

For this specific Workitem, we would like to know:

  1. For each agent, the start date/time (e.g., 01012025141025) and e.g. the focus duration (per (sub)status of the Workitem).

We have found the following APIs:

  1. /api/v2/taskmanagement/workitems/query/jobs (provides the last version of the Workitem, but we lack data for Agent 1 and the metrics).
  2. /api/v2/taskmanagement/workitems/history (displays all changes at the attribute level, but it is more challenging to create a comprehensive dataset and we miss the metrics).
  3. /api/v2/taskmanagement/workitems/{workitemId}/version (shows all the versions (changes) of the Workitem, but we lack the metrics).
  4. /api/v2/analytics/taskmanagement/aggregates/jobs (contains the metrics, but we miss the link to the timestamp).

Could you please indicate how we can retrieve the required information from one or more of the above APIs (or other APIs)?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.