Policy View KPI Metrics
Use the policy view kpi metrics request to get key metrics about your policies over a given time frame, including how many policies there are, how many policies were effective, how many where created, and how many policies were disabled, these metrics are provided for all policies categories combined as well as by policy category.
Endpoint
Method: POST
URL: /analytics/policy/policy-view-kpi-metrics
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
|---|---|---|---|
| Array | Set the time range that you would like to receive the policy metrics for, this array consists of a | Required |
| Date-Time | Set the earlier time frame for the | Required |
| Date-Time | Set the later time frame for the | Required |
For an example request, see Sample Request.
Response and Error Code
Response Code | Condition |
|---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
|---|---|---|
| Array | Your policy metrics for the |
| String | The policy category that the following metrics refer to, at the time of writing these include:
|
| Number | The total amount of policies in the above policy |
| Number | The total amount of fully effective policies in the above policy |
| Number | The total amount of new policies created for the above policy |
| Number | The total amount of disabled policies in the above policy |
For an example response, see Sample Response.
Sample Request
{
"time_range":{
"start_time":"2024-01-01T00:00:00.000Z",
"end_time":"2024-12-31T23:59:59.999Z"
}
}Sample Response
{
"categoryKpiMetrics": [
{
"category": "POLICY_CATEGORY_ALL",
"totalPolicies": "16",
"effectivePolicies": "5",
"newPolicies": "16",
"disabledPolicies": "11"
},
{
"category": "POLICY_CATEGORY_LOCKS",
"totalPolicies": "2",
"effectivePolicies": "2",
"newPolicies": "2",
"disabledPolicies": "0"
},
{
"category": "POLICY_CATEGORY_EXPORT",
"totalPolicies": "2",
"effectivePolicies": "0",
"newPolicies": "2",
"disabledPolicies": "2"
},
{
"category": "POLICY_CATEGORY_TRANSCRIPTION",
"totalPolicies": "0",
"effectivePolicies": "0",
"newPolicies": "0",
"disabledPolicies": "0"
},
{
"category": "POLICY_CATEGORY_RECORDING",
"totalPolicies": "4",
"effectivePolicies": "1",
"newPolicies": "4",
"disabledPolicies": "3"
},
{
"category": "POLICY_CATEGORY_STORAGE",
"totalPolicies": "8",
"effectivePolicies": "2",
"newPolicies": "8",
"disabledPolicies": "6"
},
{
"category": "POLICY_CATEGORY_ACCESS_CONTROL",
"totalPolicies": "0",
"effectivePolicies": "0",
"newPolicies": "0",
"disabledPolicies": "0"
}
]
}