Get possible values to be used with a given filter attribute. Filter attributes are not metric or record specific, so one filter attribute can be used with multiple metrics/records. When a filter value is not relevant for a specific metric/record, it is simply ignored.
The possible filter values to be used when fetching metrics or records
Invalid value extracted from request context, Invalid value for: query parameter pageLimit, Invalid value for: query parameter pageKey
Internal Server Error
{- "data": [
- {
- "value": "CALLBACK",
- "label": "Callback"
}, - {
- "value": "CONTACT_FORM",
- "label": "Contact Form"
}
]
}
Get data of a specific metric (aggregated)
The metric data
Invalid value extracted from request context, Invalid value for: body
Internal Server Error
{- "id": "closed_conversations",
- "periodFilter": {
- "value": {
- "_type": "PreviousWeek"
}, - "_type": "Preset"
}, - "filters": [
- {
- "attribute": "channel",
- "values": [
- "email"
]
}
], - "aggregations": [
- "Count"
], - "timezone": "Europe/Copenhagen"
}
{- "data": {
- "id": "closed_conversations",
- "aggregates": [
- {
- "value": 42,
- "measure": "Count",
- "_type": "LongAggregateValue"
}
]
}
}
Get data of specific metric records (unaggregated)
The available request filters for fetching the metric records data
The metric records data
Invalid value extracted from request context, Invalid value for: query parameter pageLimit, Invalid value for: query parameter pageKey, Invalid value for: body
Internal Server Error
{- "id": "closed_conversations",
- "periodFilter": {
- "value": {
- "_type": "PreviousWeek"
}, - "_type": "Preset"
}, - "filters": [
- {
- "attribute": "initial_direction",
- "values": [
- "INBOUND"
]
}
], - "timezone": "Europe/Copenhagen"
}
{- "data": [
- {
- "primaryTimestampField": {
- "name": "created_at",
- "timestamp": "2023-04-21T10:23:14.293Z"
}, - "fields": [
- {
- "name": "csid",
- "field": {
- "value": 184472,
- "_type": "LongField"
}
}, - {
- "name": "initial_direction",
- "field": {
- "value": "INBOUND",
- "label": "Inbound",
- "_type": "StringField"
}
}, - {
- "name": "initial_channel",
- "field": {
- "value": "PSTN_PHONE",
- "label": "Phone",
- "_type": "StringField"
}
}, - {
- "name": "contact_point",
- "field": {
- "value": "+4511223344",
- "label": "+4511223344",
- "_type": "StringField"
}
}
]
}, - {
- "primaryTimestampField": {
- "name": "created_at",
- "timestamp": "2023-04-21T10:24:04.259Z"
}, - "fields": [
- {
- "name": "csid",
- "field": {
- "value": 184473,
- "_type": "LongField"
}
}, - {
- "name": "initial_direction",
- "field": {
- "value": "INBOUND",
- "label": "Inbound",
- "_type": "StringField"
}
}, - {
- "name": "initial_channel",
- "field": {
- "value": "EMAIL",
- "label": "Email",
- "_type": "StringField"
}
}, - {
- "name": "contact_point",
- "field": {
- "value": "dixa@email.com",
- "label": "dixa@email.com",
- "_type": "StringField"
}
}
]
}
]
}
This endpoint lists all available properties of a metric to use for querying its data
The metric properties
Invalid value extracted from request context
Internal Server Error
{- "data": {
- "id": "csat",
- "description": "(Number of satisfied customers (4 and 5)/ Number of survey responses) x 100 = % of satisfied customers",
- "filters": [
- {
- "filterAttribute": "agent_id",
- "description": "Used to filter by the agent_id"
}, - {
- "filterAttribute": "queue_id",
- "description": "Used to filter by the queue_id"
}, - {
- "filterAttribute": "channel",
- "description": "Used to filter by the channel"
}, - {
- "filterAttribute": "initial_direction",
- "description": "Used to filter by the initial_direction"
}, - {
- "filterAttribute": "tag_id",
- "description": "Used to filter by the tag_id"
}, - {
- "filterAttribute": "contact_point",
- "description": "Used to filter by the contact_point"
}
], - "aggregations": [
- {
- "measure": "Percentage",
- "description": "Calculated Percentage"
}
], - "relatedRecordIds": [
- "ratings"
]
}
}
This endpoint lists all available properties of a record to use for querying its data
The metric record properties
Invalid value extracted from request context
Internal Server Error
{- "data": {
- "id": "ratings",
- "description": "Conversation Ratings",
- "filters": [
- {
- "filterAttribute": "agent_id",
- "description": "Used to filter by the agent_id"
}, - {
- "filterAttribute": "queue_id",
- "description": "Used to filter by the queue_id"
}, - {
- "filterAttribute": "channel",
- "description": "Used to filter by the channel"
}, - {
- "filterAttribute": "initial_direction",
- "description": "Used to filter by the initial_direction"
}, - {
- "filterAttribute": "tag_id",
- "description": "Used to filter by the tag_id"
}, - {
- "filterAttribute": "contact_point",
- "description": "Used to filter by the contact_point"
}
], - "relatedMetricIds": [
- "csat"
], - "fieldsMetadata": [
- {
- "field": "conversation_id",
- "description": "Conversation ID",
- "nullable": false
}, - {
- "field": "agent_id",
- "description": "The agent assigned to the conversation",
- "nullable": true
}, - {
- "field": "queue_id",
- "description": "The queue which the conversation was part of when the conversation was offered",
- "nullable": true
}
]
}
}
This endpoint lists all available record IDs that can be used to fetch data in Get Metric Records Data
The catalogue of metric records
Invalid value extracted from request context, Invalid value for: query parameter pageLimit, Invalid value for: query parameter pageKey
Internal Server Error
{- "data": [
- {
- "id": "ratings",
- "description": "Conversation Ratings",
- "filters": [
- {
- "filterAttribute": "agent_id",
- "description": "Used to filter by the agent_id"
}, - {
- "filterAttribute": "queue_id",
- "description": "Used to filter by the queue_id"
}, - {
- "filterAttribute": "channel",
- "description": "Used to filter by the channel"
}, - {
- "filterAttribute": "initial_direction",
- "description": "Used to filter by the initial_direction"
}, - {
- "filterAttribute": "tag_id",
- "description": "Used to filter by the tag_id"
}, - {
- "filterAttribute": "contact_point",
- "description": "Used to filter by the contact_point"
}
], - "relatedMetricIds": [
- "csat"
], - "fieldsMetadata": [
- {
- "field": "conversation_id",
- "description": "Conversation ID",
- "nullable": false
}, - {
- "field": "agent_id",
- "description": "The agent assigned to the conversation",
- "nullable": true
}, - {
- "field": "queue_id",
- "description": "The queue which the conversation was part of when the conversation was offered",
- "nullable": true
}
]
}, - {
- "id": "closed_conversations",
- "description": "Closed conversation data",
- "filters": [
- {
- "filterAttribute": "queue_id",
- "description": "Used to filter by the queue_id"
}, - {
- "filterAttribute": "channel",
- "description": "Used to filter by the channel"
}, - {
- "filterAttribute": "initial_direction",
- "description": "Used to filter by the initial_direction"
}, - {
- "filterAttribute": "tag_id",
- "description": "Used to filter by the tag_id"
}, - {
- "filterAttribute": "contact_point",
- "description": "Used to filter by the contact_point"
}
], - "relatedMetricIds": [
- "closed_conversations"
], - "fieldsMetadata": [
- {
- "field": "closed_at",
- "description": "Timestamp of when the conversation was closed",
- "nullable": false
}, - {
- "field": "conversation_id",
- "description": "Conversation ID",
- "nullable": false
}, - {
- "field": "agent_id",
- "description": "The agent closing the conversation",
- "nullable": true
}, - {
- "field": "queue_id",
- "description": "The queue which the conversation was part of when the conversation was closed",
- "nullable": true
}, - {
- "field": "closed_by",
- "description": "User closing the conversation (Agent, Enduser or Unknown)",
- "nullable": false
}
]
}
]
}
This endpoint lists all available metric IDs that can be used to fetch data in Get Metric Data
The catalogue of metrics
Invalid value extracted from request context, Invalid value for: query parameter pageLimit, Invalid value for: query parameter pageKey
Internal Server Error
{- "data": [
- {
- "id": "csat",
- "description": "(Number of satisfied customers (4 and 5)/ Number of survey responses) x 100 = % of satisfied customers",
- "filters": [
- {
- "filterAttribute": "agent_id",
- "description": "Used to filter by the agent_id"
}, - {
- "filterAttribute": "queue_id",
- "description": "Used to filter by the queue_id"
}, - {
- "filterAttribute": "channel",
- "description": "Used to filter by the channel"
}, - {
- "filterAttribute": "initial_direction",
- "description": "Used to filter by the initial_direction"
}, - {
- "filterAttribute": "tag_id",
- "description": "Used to filter by the tag_id"
}, - {
- "filterAttribute": "contact_point",
- "description": "Used to filter by the contact_point"
}
], - "aggregations": [
- {
- "measure": "Percentage",
- "description": "Calculated Percentage"
}
], - "relatedRecordIds": [
- "ratings"
]
}, - {
- "id": "closed_conversations",
- "description": "Closed conversation data",
- "filters": [
- {
- "filterAttribute": "queue_id",
- "description": "Used to filter by the queue_id"
}, - {
- "filterAttribute": "channel",
- "description": "Used to filter by the channel"
}, - {
- "filterAttribute": "initial_direction",
- "description": "Used to filter by the initial_direction"
}, - {
- "filterAttribute": "tag_id",
- "description": "Used to filter by the tag_id"
}, - {
- "filterAttribute": "contact_point",
- "description": "Used to filter by the contact_point"
}
], - "aggregations": [
- {
- "measure": "Count",
- "description": "Conversation closed count"
}
], - "relatedRecordIds": [
- "closed_conversations"
]
}
]
}