handleEntityReport
Resolves a reported entity by applying one or more actions.Optional. The server bans the author of the reported content; if sent, this must be that author.
userId here is the ban target — the user being banned — not the actor performing the moderation.Promise<{ message: string; code: string }>
handleCommentReport
Resolves a reported comment by applying one or more actions.Optional. The server bans the author of the reported content; if sent, this must be that author.
userId here is the ban target — the user being banned — not the actor performing the moderation.Promise<{ message: string; code: string }>
handleSpaceChatReport
Resolves a reported space chat message by applying one or more actions.Reason for the ban, kept in the space’s ban log, and the removal reason for
remove-message. Optional.Optional. The server bans the author of the reported content; if sent, this must be that author.
userId here is the ban target — the user being banned — not the actor performing the moderation.Promise<{ message: string; code: string }>
moderateSpaceEntity
Approves or removes an entity in a space.Promise<{ message: string; moderationStatus: "approved" | "removed" }>
setSpaceEntityNsfw
Sets the NSFW own-flag on an entity within a space — including other users’ entities. Separate frommoderateSpaceEntity: it labels the entity (nsfw), it does not approve/remove it. Requires the acting user to be an admin or moderator of the space.
Promise<{ message: string; nsfw: boolean }>
moderateSpaceComment
Approves or removes a comment in a space.Promise<{ message: string; moderationStatus: "approved" | "removed" }>
moderateSpaceChatMessage
Applies a moderation status to a space chat message.Promise<{ message: string; moderationStatus: string }>
fetchManyRules
Fetches all rules for a space.Promise<FetchManyRulesResponse>
fetchRule
Fetches a single rule by ID.Promise<Rule>
createRule
Creates a rule in a space.Promise<Rule>
updateRule
Updates a rule’s title and/or description.Promise<Rule>
deleteRule
Deletes a rule.Promise<DeleteRuleResponse>
reorderRules
Reorders a space’s rules.Promise<Rule[]>
