|
5 | 5 | ```typescript |
6 | 6 | import { AgentsUsageByDepartmentInsight } from "@gleanwork/api-client/models/components"; |
7 | 7 |
|
8 | | -let value: AgentsUsageByDepartmentInsight = {}; |
| 8 | +let value: AgentsUsageByDepartmentInsight = { |
| 9 | + icon: { |
| 10 | + color: "#343CED", |
| 11 | + key: "person_icon", |
| 12 | + iconType: "GLYPH", |
| 13 | + name: "user", |
| 14 | + }, |
| 15 | +}; |
9 | 16 | ``` |
10 | 17 |
|
11 | 18 | ## Fields |
12 | 19 |
|
13 | | -| Field | Type | Required | Description | |
14 | | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | |
15 | | -| `department` | *string* | :heavy_minus_sign: | Name of the department | |
16 | | -| `agentAdoptionRate` | *number* | :heavy_minus_sign: | Percentage of employees in the department who have used agents at least once over the specified time period. | |
17 | | -| `userCount` | *number* | :heavy_minus_sign: | Total number of users in this department who have used any agent over the specified time period. | |
18 | | -| `runCount` | *number* | :heavy_minus_sign: | Total number of runs in this department over the specified time period. | |
19 | | -| `agentId` | *string* | :heavy_minus_sign: | ID of the agent to be shown in the agent column in this department over the specified time period. | |
20 | | -| `agentName` | *string* | :heavy_minus_sign: | Name of the agent to be shown in the agent column in this department over the specified time period. | |
| 20 | +| Field | Type | Required | Description | Example | |
| 21 | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | |
| 22 | +| `department` | *string* | :heavy_minus_sign: | Name of the department | | |
| 23 | +| `agentAdoptionRate` | *number* | :heavy_minus_sign: | Percentage of employees in the department who have used agents at least once over the specified time period. | | |
| 24 | +| `userCount` | *number* | :heavy_minus_sign: | Total number of users in this department who have used any agent over the specified time period. | | |
| 25 | +| `runCount` | *number* | :heavy_minus_sign: | Total number of runs in this department over the specified time period. | | |
| 26 | +| `agentId` | *string* | :heavy_minus_sign: | ID of the agent to be shown in the agent column in this department over the specified time period. | | |
| 27 | +| `agentName` | *string* | :heavy_minus_sign: | Name of the agent to be shown in the agent column in this department over the specified time period. | | |
| 28 | +| `icon` | [components.IconConfig](../../models/components/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} | |
| 29 | +| `isDeleted` | *boolean* | :heavy_minus_sign: | Indicates whether the agent has been deleted | | |
0 commit comments