Admin - Audit Log

Count per action_type in the last N hours — dashboard widget

get/api/admin/audit-logs/stats

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/audit-logs/stats
  • Auth
    HTTP bearer

Query parameters

sinceHoursnumber
Example:24
limitnumber
Example:20

Response

unknown required

Example response

{
  "success": true,
  "sinceHours": 24,
  "stats": [
    {
      "action_type": "rag_read",
      "total": 340,
      "denied": 0
    },
    {
      "action_type": "bridge_access",
      "total": 82,
      "denied": 1
    },
    {
      "action_type": "lucille_seed_wipe",
      "total": 2,
      "denied": 0
    }
  ]
}

Changes

No recorded changes to this operation across all 34 revisions of this API.