Skip to main content
Identity & Access/Credentials
GETCredentialSince 1.0SynchronousAuth Required

GetCredentialStatistics

Retrieve aggregated statistics about credential counts grouped by health status.

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

This API requires no request parameters.

Responses

200 OK

On success, this API returns the following response structure.

  • totalString

    Total number of credentials across all health statuses.

    Example: 50

  • okString

    Number of credentials in healthy (OK) status.

    Example: 40

  • expiringString

    Number of credentials that are expiring soon or approaching warning/critical thresholds.

    Example: 5

  • expiredString

    Number of credentials that have already expired.

    Example: 3

  • unknownString

    Number of credentials whose health status could not be determined.

    Example: 2

Endpoint

GET/api/v1/credentials/statistics

/api/v1/credentials/statistics

Operation ID

GetCredentialStatistics

Permalink

Request Example

curl -X GET '{host}/api/v1/credentials/statistics' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "total": 50,
  "ok": 40,
  "expiring": 5,
  "expired": 3,
  "unknown": 2
}

Change History

This API has no change history records yet.

View all change history