▸ IndieLogs operation reference

admin.moderation.audit

Input validation and access metadata generated from the shared operation registry.

Access: Signed-in browser session required. Additional scope: —. MCP allowed: No.

Input JSON Schema

This schema is generated from the canonical Zod input schema in the shared contract package, not copied into the docs source. JSON Schema describes representable structure; runtime refinements and transforms remain enforced by the canonical parser and may not be fully represented here.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "target_type": {
      "type": "string",
      "enum": [
        "update",
        "maker"
      ]
    },
    "target_id": {
      "type": "string",
      "maxLength": 100
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "target_type",
    "target_id"
  ]
}

HTTP and CLI

POST the versioned operation envelope to /api/v2/execute. Replace the placeholder with a valid input object from the schema above; this shape is not a runnable request.

{"version":1,"operation":"admin.moderation.audit","input":<input-object matching schema>}

CLI command shape: indielogs call admin.moderation.audit '<input-json>'. The placeholder is not a valid sample input.