pub.chive.admin.getAuditLog

chive.pub

{
  "id": "pub.chive.admin.getAuditLog",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "entries",
            "total"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total entries matching the query"
            },
            "entries": {
              "type": "array",
              "items": {
                "ref": "#auditEntry",
                "type": "ref"
              },
              "description": "Audit log entries"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of entries"
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor"
          },
          "actorDid": {
            "type": "string",
            "format": "did",
            "description": "Filter by actor DID"
          }
        }
      },
      "description": "Get admin audit log entries"
    },
    "auditEntry": {
      "type": "object",
      "required": [
        "id",
        "action",
        "actorDid",
        "timestamp"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Entry ID"
        },
        "action": {
          "type": "string",
          "description": "Action performed"
        },
        "details": {
          "type": "string",
          "description": "Additional details"
        },
        "actorDid": {
          "type": "string",
          "format": "did",
          "description": "DID of the actor"
        },
        "targetUri": {
          "type": "string",
          "description": "Target resource URI"
        },
        "timestamp": {
          "type": "string",
          "format": "datetime",
          "description": "When the action occurred"
        },
        "collection": {
          "type": "string",
          "description": "NSID collection"
        },
        "actorHandle": {
          "type": "string",
          "description": "Handle of the actor"
        }
      },
      "description": "Audit log entry"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.admin.getAuditLog

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreihjh4v7euujlt272bn5bjgshpmukp6jg5ho4mhkegt2t5tuyobgzy
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.getAuditLog

Lexicon Garden

@