social.colibri.beta.community.listModerationLog

colibri.social

Documentation

Lists a community's moderation audit log.

main query

Lists a community's moderation audit log.

Parameters

community string did Required

The community to list the moderation log for.

cursor string Optional

Pagination cursor from a previous response.

limit integer Optional

Maximum number of log entries to return.

Output

Encodingapplication/json
cursor string Optional

Pagination cursor for the next page, if more entries exist.

entries array Required

Log entries, most recent first.

Errors

AuthRequired The request is missing, malformed, or unverifiable service auth.
Forbidden The caller lacks the moderation.viewLog permission.
CommunityNotFound No community exists at the given DID.
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
The community to list the moderation log for.
Pagination cursor from a previous response.
Maximum number of log entries to return.
View raw schema
{
  "description": "Lists a community's moderation audit log.",
  "errors": [
    {
      "description": "The request is missing, malformed, or unverifiable service auth.",
      "name": "AuthRequired"
    },
    {
      "description": "The caller lacks the moderation.viewLog permission.",
      "name": "Forbidden"
    },
    {
      "description": "No community exists at the given DID.",
      "name": "CommunityNotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cursor": {
          "description": "Pagination cursor for the next page, if more entries exist.",
          "type": "string"
        },
        "entries": {
          "description": "Log entries, most recent first.",
          "items": {
            "description": "A moderation log entry.",
            "ref": "social.colibri.beta.community.defs#moderationView",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "entries"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "community": {
        "description": "The community to list the moderation log for.",
        "format": "did",
        "type": "string"
      },
      "cursor": {
        "description": "Pagination cursor from a previous response.",
        "type": "string"
      },
      "limit": {
        "default": 50,
        "description": "Maximum number of log entries to return.",
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      }
    },
    "required": [
      "community"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@