You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/includes/_activity.md
+67-1Lines changed: 67 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,67 +9,133 @@ Our API is organised into two sections; Get and Post requests. Get requests allo
9
9
You will need an API token to access your Activity data. Tokens are managed within the Settings area of the Hub, and require Manager permissions to access and manage. All requests require an API token to authenticate you.
10
10
11
11
## GET Users
12
-
Request: https://api.lexer.io/v1/users
12
+
13
+
Retrieve a list of users that have access to your Lexer account. You can use these user details to filter any of the Activity queries for agent specific metrics. Here we'll describe how you request and interpret this information.
14
+
15
+
**Request**
16
+
```text
17
+
curl -H "Content-Type: application/json" -H "Auth-Api-Token: 12345678-1234-1234-1234-123456789" -X GET https://api.lexer.io/v1/users
18
+
```
19
+
Simply call this endpoint `https://api.lexer.io/v1/users` using your API token and you will retrieve a list of active users in your team.
20
+
21
+
```json
22
+
[
23
+
{
24
+
"id": 12345,
25
+
"email": "jane@business.io",
26
+
"first_name": "Jane",
27
+
"last_name": "Remington",
28
+
"timezone": "Australia/Sydney",
29
+
"gmtoffset": 10,
30
+
"sign_in_count": 76,
31
+
"last_sign_in_at": "2018-03-21T06:09:01Z",
32
+
"archived": false,
33
+
"groups": [
34
+
123,
35
+
456,
36
+
789,
37
+
]
38
+
}
39
+
```
40
+
41
+
**Response**
42
+
43
+
Property | Description | Type |
44
+
---------|-------------|------|
45
+
id | user id | integer
46
+
email | email account used to login | string
47
+
first_name | first name of the user | string
48
+
last_name | last name of the user | string
49
+
timezone | timezone location of user | string
50
+
gmtoffset | timezone offset of user | integer
51
+
sign_in_count | count of logins | integer
52
+
last_sign_in_at | date time of the users last login | string
53
+
archived | archived flag for user | boolean
54
+
groups | group id's the user is a member of | array
13
55
14
56
15
57
## GET Groups
58
+
16
59
Request: https://api.lexer.io/v1/groups
17
60
18
61
19
62
## GET Forms
63
+
20
64
Request: https://api.lexer.io/v1/forms
21
65
22
66
23
67
## Summary
24
68
25
69
**Summary Metrics**
70
+
26
71
Description: count of objects handled, count of objects responded to, average response time, longest response time, count of objects that exceeded the SLA period.
72
+
27
73
Request: summary
28
74
29
75
**Summary Volume**
76
+
30
77
Description: daily volume of objects in each workflow state.
78
+
31
79
Request: states_volume
32
80
33
81
**Classifications (Objects)**
82
+
34
83
Description: classifications and their associated count of objects.
84
+
35
85
Request: classifications
36
86
37
87
**Response Time**
88
+
38
89
Description: daily average response time.
90
+
39
91
Request: response_volume
40
92
41
93
## Team
42
94
43
95
**Agent Volume**
96
+
44
97
Description: count of states for objects currently assigned to individual agents.
98
+
45
99
Request: user_volume
46
100
47
101
**Agent Summary**
102
+
48
103
Description: count of states for objects currently assigned to individual agents.
Copy file name to clipboardExpand all lines: source/includes/_content.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ The summary bar displays the headline metrics for your saved dive. Each of the i
102
102
}
103
103
}
104
104
```
105
-
The Live Stream Volume chart will return a data object for each filter presented in the chart. In this example we're just looking at the Nintendo filter. Within this object are the count of mentions for each time interval.
105
+
The Live Stream Volume chart will return a data object for each filter presented in the chart. In this example we're just looking at the Nintendo filter. This object contains the corresponding count of mentions for each time interval.
106
106
107
107
Also included in this response is the total number of mentions and various other information to render this in the chart interface.
0 commit comments