Creates a metric collection job for the specified calls or chats and metrics, then triggers processing. Provide exactly one of callIds or chatIds.
Documentation Index
Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Input for creating and running a metric collection job. Limits: ≤500 conversations, ≤20 metrics, ≤5000 total items per request.
Metric definitions to collect. Max 20 per request.
1 - 20 elementsCall IDs to collect metrics for. Mutually exclusive with chatIds. Max 500 per request.
1 - 500 elementsChat IDs to collect metrics for. Mutually exclusive with callIds. Max 500 per request.
1 - 500 elementsThe created metric collection job
A metric collection job that processes metrics for calls or chats