pub.chive.admin.getAuditLog

lexicons.governance.chive.pub

Documentation

Get admin audit log entries

main query

Get admin audit log entries

Parameters

actorDid string did Optional

Filter by actor DID

cursor string Optional

Pagination cursor

limit integer Optional

Maximum number of entries

Output

Encodingapplication/json
entries array Required

Audit log entries

total integer Required

Total entries matching the query

Errors

AuthenticationRequired
AdminRequired
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Filter by actor DID
Pagination cursor
Maximum number of entries
View raw schema
{
  "description": "Get admin audit log entries",
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "AdminRequired"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "entries": {
          "description": "Audit log entries",
          "items": {
            "ref": "#auditEntry",
            "type": "ref"
          },
          "type": "array"
        },
        "total": {
          "description": "Total entries matching the query",
          "type": "integer"
        }
      },
      "required": [
        "entries",
        "total"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "actorDid": {
        "description": "Filter by actor DID",
        "format": "did",
        "type": "string"
      },
      "cursor": {
        "description": "Pagination cursor",
        "type": "string"
      },
      "limit": {
        "default": 50,
        "description": "Maximum number of entries",
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      }
    },
    "type": "params"
  },
  "type": "query"
}
auditEntry object

Audit log entry

Properties

action string Required

Action performed

actorDid string did Required

DID of the actor

actorHandle string Optional

Handle of the actor

collection string Optional

NSID collection

details string Optional

Additional details

id string Required

Entry ID

targetUri string Optional

Target resource URI

timestamp string datetime Required

When the action occurred

View raw schema
{
  "description": "Audit log entry",
  "properties": {
    "action": {
      "description": "Action performed",
      "type": "string"
    },
    "actorDid": {
      "description": "DID of the actor",
      "format": "did",
      "type": "string"
    },
    "actorHandle": {
      "description": "Handle of the actor",
      "type": "string"
    },
    "collection": {
      "description": "NSID collection",
      "type": "string"
    },
    "details": {
      "description": "Additional details",
      "type": "string"
    },
    "id": {
      "description": "Entry ID",
      "type": "string"
    },
    "targetUri": {
      "description": "Target resource URI",
      "type": "string"
    },
    "timestamp": {
      "description": "When the action occurred",
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "id",
    "action",
    "actorDid",
    "timestamp"
  ],
  "type": "object"
}

Lexicon Garden

@