Admin - Audit Log

Search audit_log with filters + pagination

Returns rows ordered by created_at DESC. All filters are optional and AND-combined. Page size capped at 200.

get/api/admin/audit-logs

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
  • Auth
    HTTP bearer

Query parameters

actionTypestring
Example:lucille_seed_wipe

rag_read | rag_write | bridge_access | admin_action | auth_failure | lucille_seed_wipe

actorstring
Example:admin

Exact actor string, e.g. "admin", "user:42", "bridge_key:3"

resourcestring
Example:rewrite_rag
vaultTypestring
Example:user
wasAllowedstring

true | false; omit for both

fromstring

ISO timestamp lower bound on created_at

tostring

ISO timestamp upper bound on created_at

pagenumber
Example:1
limitnumber
Example:50

Response

unknown required

Example response

{
  "success": true,
  "page": 1,
  "limit": 50,
  "total": 1,
  "data": [
    {
      "id": 12,
      "action_type": "lucille_seed_wipe",
      "actor": "admin",
      "vault_type": null,
      "resource": "rewrite_rag",
      "detail": {
        "scoped": true,
        "user_ids_filter": [
          91
        ],
        "affected_user_count": 1,
        "deleted_rag_rows": 2,
        "cleared_working_memory_blobs": 1,
        "cleared_working_memory": true,
        "reason": "May 2026 contamination scrub"
      },
      "ip_address": null,
      "was_allowed": true,
      "created_at": "2026-05-15T09:26:11.000Z"
    }
  ]
}

Changes

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