GET Analytics Certificates Revocation
The GET /Analytics/Certificates/Revocation operation returns the number of certificates, for the specified collection
The certificate search function allows you to query the Keyfactor Command database for certificates from any available source based on any criteria of the certificates and save the results as a collection that will be available in other places in the Management Portal (for example expiration alerts and certain reports)., revoked in a given period, from the current date, for each period requested. On success, the operation returns HTTP 200 OK with the certificate count per period.
Permissions for certificates can be set at the system-wide or resource-specific level. The appropriate level depends on how the certificates are accessed. See Certificate Collection Permissions for more information.
In permission strings, # represents a specific resource identifier. In /certificates/collections/ permission strings it refers to a certificate collection ID (for example, CollectionId) and in /certificate_stores/ permission strings it refers to a certificate store application ID (for example, containerId).
Table 262: GET Analytics Certificates Revocation Input Parameters
| Name | In | Description |
|---|---|---|
| collectionId | Query |
Required. An integer that represents the ID of the collection to query to generate the certificate count. Use 0 for All Certificates (built-in collection). Use the GET Certificate Collections operation to retrieve a list of all the certificate collections to determine the collection ID. |
| TotalPeriods | Query | Required. An integer that determines how many weeks of data to return. Valid values are 1 through 52. |
Table 263: GET Analytics Certificates Revocation Response Data
| Name | Description |
|---|---|
| EvalDate | A date/time string that represents the current date used to run the query (from which the periods are calculated). The date and time are expressed in ISO 8601 UTC format (YYYY-MM-DDTHH:mm:ss[.fff]Z). For example, 2026-05-19T16:23:01Z. |
| Periods |
An array of objects that returns counts for each period requested. |