pub.chive.admin.getAuditLog

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
{
  "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 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
{
  "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"
}

Lexicon Garden

@