List filter values

GET
/beta/intelligence/filters/{attribute}/values

List the values you can filter on for an attribute, such as all queues or all tags. Deactivated agents, queues and tags are included and marked with deactivated: true.

Authorization

ApiKeyAuth
headerAuthorization<token>

Path Parameters

attribute*string

A filter attribute from List metrics or List records

Query Parameters

pageKey?string

The key of the page to fetch. To page through the results, call the link in meta.next or meta.previous of the previous response, which already carries this key.

pageLimit?integer

The number of entries per page, up to 1000. Defaults to 50, or to the page size of pageKey when one is given.

Formatint32
Default50

Response Body

The values of the filter attribute

application/json
  1. response
data?array<>
meta?
Example Request
curl -X GET 'https://dev.dixa.io/beta/intelligence/filters/{attribute}/values' \  -H 'Authorization: <API token>'
{
"data": [
{
"id": "a4f1c0b2-6d38-4e91-8f27-1b5d9c3e7a04",
"label": "Joe Bloggs",
"deactivated": false
},
{
"id": "c81d4e2a-95b7-4c60-a3f8-2e6a7d09b415",
"label": "Amara Okafor",
"deactivated": false
},
{
"id": "e6b2a704-3f19-4d82-9c5b-4a8e1f2d7c36",
"label": "Sam Petrov",
"deactivated": true
}
],
"meta": {
"next": "/beta/intelligence/filters/agent/values?pageKey=eyJvZmZzZXQiOjUwLCJsaW1pdCI6NTB9&pageLimit=50"
}
}

Agents with their display names. Deactivated agents are included and marked as deactivated