Skip to main content
GET
/
v1
/
compliance
/
summary
Get compliance summary
curl --request GET \
  --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/compliance/summary \
  --header 'Authorization: Bearer <token>'
{
  "generatedAt": "2023-11-07T05:31:56Z",
  "since": "2023-11-07T05:31:56Z",
  "until": "2023-11-07T05:31:56Z",
  "agents": {
    "total": 123,
    "active": 123,
    "suspended": 123,
    "revoked": 123
  },
  "grants": {
    "total": 123,
    "active": 123,
    "revoked": 123,
    "expired": 123
  },
  "auditEntries": {
    "total": 123,
    "success": 123,
    "failure": 123,
    "blocked": 123
  },
  "policies": {
    "total": 123
  },
  "plan": "<string>"
}

Authorizations

Authorization
string
header
required

Developer API key

Query Parameters

since
string<date-time>
until
string<date-time>

Response

200 - application/json

Compliance summary

generatedAt
string<date-time>
since
string<date-time>
until
string<date-time>
agents
object
grants
object
auditEntries
object
policies
object
plan
string