Lemmy

List Lemmy instance moderation log

List the Lemmy moderation log by kind, community or moderator.

GET/v1/lemmy/modlog
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
8
instancestringrequiredquery

The Lemmy instance, e.g. `lemmy.world`. A URL on the instance is also accepted. Ids and counts belong to this instance.

kindstringoptionalquery

Kind of moderation action. `all` returns every kind in one answer; with it, `limit` applies to each kind and is at most 10. Omit it with `community` to get every kind for that community, up to 20 each.

one of: all, ModRemovePost, ModLockPost, ModFeaturePost, ModRemoveComment, ModRemoveCommunity, ModBanFromCommunity, ModBan, ModAddCommunity, ModTransferCommunity, ModAdd, AdminPurgePerson, AdminPurgeCommunity, AdminPurgePost, AdminPurgeComment, ModHideCommunity

communityIdintegeroptionalquery

Only this community's moderation log, by its numeric id.

≥ 1 · ≤ 2147483647

modPersonIdintegeroptionalquery

Only actions taken by this moderator or administrator.

≥ 1 · ≤ 2147483647

otherPersonIdintegeroptionalquery

Only actions whose subject is this person.

≥ 1 · ≤ 2147483647

pageintegeroptionalquery

Page number, 1 to 100. Default: 1. An instance refuses pages past 100. Lemmy pages by number over a live order, so new or re-ranked items can shift a row onto the next page. Remove repeats by `id`.

≥ 1 · ≤ 100

cursorstringoptionalquery

Pass `page.nextCursor` from the previous response to get the next page. It only works with the same filters; do not send it with `page`.

min 1 chars · max 2048 chars

limitintegeroptionalquery

Rows per kind, 1 to 50. Default: 10. With `kind=all`, or with no kind or community, at most 10; with a community but no kind, at most 20. One page can carry up to 15 times the limit across the kinds.

≥ 1 · ≤ 50

Response fields
376

Endpoint-specific response payload.

datalookupStatus
string

`found`, `not_found` (the entity is missing, or the host name does not resolve), `private` (the instance does not allow public lists) or `not_compatible` (the host is not a Lemmy instance, or its version does not serve this operation). See `reason`.

one of: found, not_found, private, not_compatible

datainstance
string

The instance that was asked.

Why `lookupStatus` is not `found`, or null when it is `found`.

datareasoncode
string

Machine-readable reason.

one of: instance_private, not_a_lemmy_instance, not_available, deleted, host_not_found

datareasonmessage
string

Plain-language explanation.

Moderation actions, newest first.

dataentries[]kind
string

The moderation action, using the API's own names.

one of: all, ModRemovePost, ModLockPost, ModFeaturePost, ModRemoveComment, ModRemoveCommunity, ModBanFromCommunity, ModBan, ModAddCommunity, ModTransferCommunity, ModAdd, AdminPurgePerson, AdminPurgeCommunity, AdminPurgePost, AdminPurgeComment, ModHideCommunity

dataentries[]at
stringnullable

When the action was taken.

dataentries[]reason
stringnullable

The reason the actor gave.

The acting moderator, or the acting instance administrator for `Admin*` kinds and `ModHideCommunity`; null where the instance hides names.

dataentries[]moderatorid
integer

User id on this instance.

dataentries[]moderatorname
string

Username without the host.

dataentries[]moderatordisplayName
stringnullable

Display name.

dataentries[]moderatorbio
stringnullable

Profile text as Markdown.

dataentries[]moderatoravatar
stringnullable

Avatar URL.

dataentries[]moderatorbanner
stringnullable

Banner URL.

dataentries[]moderatoractorId
stringnullable

Canonical ActivityPub id.

dataentries[]moderatorhost
stringnullable

Host the account lives on.

dataentries[]moderatorhandle
stringnullable

`user@host`.

dataentries[]moderatorpublishedAt
stringnullable

When the account was created.

dataentries[]moderatorupdatedAt
stringnullable

When the profile last changed.

dataentries[]moderatorbanned
booleannullable

Whether the account is banned.

dataentries[]moderatorbanExpiresAt
stringnullable

When the ban ends.

dataentries[]moderatordeleted
booleannullable

Whether the account was deleted.

dataentries[]moderatorisBot
booleannullable

Whether the account is a bot.

dataentries[]moderatorisLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]moderatormatrixUserId
stringnullable

Matrix id the user chose to publish.

The verb flags on the action record.

dataentries[]flagsremoved
booleanoptional

Removed.

dataentries[]flagslocked
booleanoptional

Locked.

dataentries[]flagsbanned
booleanoptional

Banned.

dataentries[]flagsfeatured
booleanoptional

Featured.

dataentries[]flagsfeaturedCommunity
booleanoptional

Featured in the community.

dataentries[]expiresAt
stringnullable

When a ban or another action expires.

The object the action was taken on.

The post acted on.

dataentries[]subjectpostid
integer

Post id on this instance.

dataentries[]subjectpostapId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectposttitle
stringnullable

Post title.

dataentries[]subjectposturl
stringnullable

Link the post points at; null for a text post.

dataentries[]subjectposturlContentType
stringnullable

Content type of the link.

dataentries[]subjectpostthumbnailUrl
stringnullable

Thumbnail URL.

dataentries[]subjectpostnsfw
booleannullable

Whether the post is NSFW.

dataentries[]subjectpostlocked
booleannullable

Whether the post is locked.

dataentries[]subjectpostremoved
booleannullable

Whether a moderator removed it.

dataentries[]subjectpostdeleted
booleannullable

Whether it was deleted.

dataentries[]subjectpostpublishedAt
stringnullable

When it was posted.

dataentries[]subjectpostupdatedAt
stringnullable

When it last changed.

dataentries[]subjectpostlanguageId
integernullable

Discussion language id.

dataentries[]subjectpostisLocal
booleannullable

Whether it was posted on the instance asked.

dataentries[]subjectpostscore
integernullable

Votes up minus votes down.

dataentries[]subjectpostupvotes
integernullable

Upvotes.

dataentries[]subjectpostdownvotes
integernullable

Downvotes.

dataentries[]subjectpostcommentCount
integernullable

Comments on the post.

The community it was posted in, with the counts the single-post answer carries.

dataentries[]subjectpostcommunityid
integer

Community id on this instance.

dataentries[]subjectpostcommunityname
string

Community name without the host.

dataentries[]subjectpostcommunitytitle
stringnullable

Display title.

dataentries[]subjectpostcommunityactorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostcommunityhost
stringnullable

Host the community lives on.

dataentries[]subjectpostcommunityhandle
stringnullable

`name@host`.

dataentries[]subjectpostcommunityicon
stringnullable

Community icon URL.

dataentries[]subjectpostcommunitynsfw
booleannullable

Whether the community is NSFW.

dataentries[]subjectpostcommunityisLocal
booleannullable

Whether the community lives on the instance asked.

dataentries[]subjectpostcommunitydescription
stringnullable

Description as Markdown.

dataentries[]subjectpostcommunitybanner
stringnullable

Banner URL.

dataentries[]subjectpostcommunitypublishedAt
stringnullable

When the community was created.

dataentries[]subjectpostcommunityupdatedAt
stringnullable

When the community last changed.

dataentries[]subjectpostcommunityremoved
booleannullable

Whether a moderator removed the community.

dataentries[]subjectpostcommunitydeleted
booleannullable

Whether the community was deleted.

dataentries[]subjectpostcommunityhidden
booleannullable

Whether the community is hidden.

dataentries[]subjectpostcommunitypostingRestrictedToMods
booleannullable

Whether only moderators may post.

dataentries[]subjectpostcommunityvisibility
stringnullable

`Public` or another visibility the instance reports.

dataentries[]subjectpostcommunitysubscriberCount
integernullable

Subscribers.

dataentries[]subjectpostcommunitylocalSubscriberCount
integernullable

Subscribers on the community's own instance.

dataentries[]subjectpostcommunitypostCount
integernullable

Posts in the community.

dataentries[]subjectpostcommunitycommentCount
integernullable

Comments in the community.

Active users in the community.

dataentries[]subjectpostcommunityactiveUsersday
integernullable

Active users today.

dataentries[]subjectpostcommunityactiveUsersweek
integernullable

Active users this week.

dataentries[]subjectpostcommunityactiveUsersmonth
integernullable

Active users this month.

dataentries[]subjectpostcommunityactiveUsershalfYear
integernullable

Active users in the last six months.

Moderators; null on list rows, which do not carry them.

dataentries[]subjectpostcommunitymoderators[]id
integer

User id on this instance.

dataentries[]subjectpostcommunitymoderators[]name
string

Username without the host.

dataentries[]subjectpostcommunitymoderators[]displayName
stringnullable

Display name.

dataentries[]subjectpostcommunitymoderators[]bio
stringnullable

Profile text as Markdown.

dataentries[]subjectpostcommunitymoderators[]avatar
stringnullable

Avatar URL.

dataentries[]subjectpostcommunitymoderators[]banner
stringnullable

Banner URL.

dataentries[]subjectpostcommunitymoderators[]actorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostcommunitymoderators[]host
stringnullable

Host the account lives on.

dataentries[]subjectpostcommunitymoderators[]handle
stringnullable

`user@host`.

dataentries[]subjectpostcommunitymoderators[]publishedAt
stringnullable

When the account was created.

dataentries[]subjectpostcommunitymoderators[]updatedAt
stringnullable

When the profile last changed.

dataentries[]subjectpostcommunitymoderators[]banned
booleannullable

Whether the account is banned.

dataentries[]subjectpostcommunitymoderators[]banExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectpostcommunitymoderators[]deleted
booleannullable

Whether the account was deleted.

dataentries[]subjectpostcommunitymoderators[]isBot
booleannullable

Whether the account is a bot.

dataentries[]subjectpostcommunitymoderators[]isLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectpostcommunitymoderators[]matrixUserId
stringnullable

Matrix id the user chose to publish.

Discussion language ids; null on rows that do not carry them. The instance endpoint maps ids to language codes.

dataentries[]subjectpostcommunitylanguageIds[]
integeroptional

Who posted it; null on a modlog row, which does not carry the creator.

dataentries[]subjectpostauthorid
integer

User id on this instance.

dataentries[]subjectpostauthorname
string

Username without the host.

dataentries[]subjectpostauthordisplayName
stringnullable

Display name.

dataentries[]subjectpostauthorbio
stringnullable

Profile text as Markdown.

dataentries[]subjectpostauthoravatar
stringnullable

Avatar URL.

dataentries[]subjectpostauthorbanner
stringnullable

Banner URL.

dataentries[]subjectpostauthoractorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostauthorhost
stringnullable

Host the account lives on.

dataentries[]subjectpostauthorhandle
stringnullable

`user@host`.

dataentries[]subjectpostauthorpublishedAt
stringnullable

When the account was created.

dataentries[]subjectpostauthorupdatedAt
stringnullable

When the profile last changed.

dataentries[]subjectpostauthorbanned
booleannullable

Whether the account is banned.

dataentries[]subjectpostauthorbanExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectpostauthordeleted
booleannullable

Whether the account was deleted.

dataentries[]subjectpostauthorisBot
booleannullable

Whether the account is a bot.

dataentries[]subjectpostauthorisLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectpostauthormatrixUserId
stringnullable

Matrix id the user chose to publish.

dataentries[]subjectpostbody
stringnullable

Post text as Markdown.

Link preview; null when the instance found none.

dataentries[]subjectpostembedtitle
stringnullable

Embedded page title.

dataentries[]subjectpostembeddescription
stringnullable

Embedded page description.

dataentries[]subjectpostembedvideoUrl
stringnullable

Embedded video URL.

dataentries[]subjectpostaltText
stringnullable

Alt text for the image.

Image details; null when the post has no image.

dataentries[]subjectpostimagelink
string

Image URL.

dataentries[]subjectpostimagewidth
integernullable

Width in pixels.

dataentries[]subjectpostimageheight
integernullable

Height in pixels.

dataentries[]subjectpostimagecontentType
stringnullable

Media type.

dataentries[]subjectpostfeaturedInCommunity
booleannullable

Whether it is featured in its community.

dataentries[]subjectpostfeaturedOnInstance
booleannullable

Whether it is featured on the instance.

dataentries[]subjectpostnewestCommentAt
stringnullable

When the newest comment was made.

dataentries[]subjectpostisAdmin
booleannullable

Whether the author is an instance administrator.

dataentries[]subjectpostisModerator
booleannullable

Whether the author moderates the community.

dataentries[]subjectpostbannedFromCommunity
booleannullable

Whether the author is banned from the community.

Posts of the same link in other communities; null on list rows.

dataentries[]subjectpostcrossPosts[]id
integer

Post id on this instance.

dataentries[]subjectpostcrossPosts[]apId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostcrossPosts[]title
stringnullable

Post title.

dataentries[]subjectpostcrossPosts[]url
stringnullable

Link the post points at; null for a text post.

dataentries[]subjectpostcrossPosts[]urlContentType
stringnullable

Content type of the link.

dataentries[]subjectpostcrossPosts[]thumbnailUrl
stringnullable

Thumbnail URL.

dataentries[]subjectpostcrossPosts[]nsfw
booleannullable

Whether the post is NSFW.

dataentries[]subjectpostcrossPosts[]locked
booleannullable

Whether the post is locked.

dataentries[]subjectpostcrossPosts[]removed
booleannullable

Whether a moderator removed it.

dataentries[]subjectpostcrossPosts[]deleted
booleannullable

Whether it was deleted.

dataentries[]subjectpostcrossPosts[]publishedAt
stringnullable

When it was posted.

dataentries[]subjectpostcrossPosts[]updatedAt
stringnullable

When it last changed.

dataentries[]subjectpostcrossPosts[]languageId
integernullable

Discussion language id.

dataentries[]subjectpostcrossPosts[]isLocal
booleannullable

Whether it was posted on the instance asked.

dataentries[]subjectpostcrossPosts[]score
integernullable

Votes up minus votes down.

dataentries[]subjectpostcrossPosts[]upvotes
integernullable

Upvotes.

dataentries[]subjectpostcrossPosts[]downvotes
integernullable

Downvotes.

dataentries[]subjectpostcrossPosts[]commentCount
integernullable

Comments on the post.

The community it was posted in.

dataentries[]subjectpostcrossPosts[]communityid
integer

Community id on this instance.

dataentries[]subjectpostcrossPosts[]communityname
string

Community name without the host.

dataentries[]subjectpostcrossPosts[]communitytitle
stringnullable

Display title.

dataentries[]subjectpostcrossPosts[]communityactorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostcrossPosts[]communityhost
stringnullable

Host the community lives on.

dataentries[]subjectpostcrossPosts[]communityhandle
stringnullable

`name@host`.

dataentries[]subjectpostcrossPosts[]communityicon
stringnullable

Community icon URL.

dataentries[]subjectpostcrossPosts[]communitynsfw
booleannullable

Whether the community is NSFW.

dataentries[]subjectpostcrossPosts[]communityisLocal
booleannullable

Whether the community lives on the instance asked.

Who posted it; null on a modlog row, which does not carry the creator.

dataentries[]subjectpostcrossPosts[]authorid
integer

User id on this instance.

dataentries[]subjectpostcrossPosts[]authorname
string

Username without the host.

dataentries[]subjectpostcrossPosts[]authordisplayName
stringnullable

Display name.

dataentries[]subjectpostcrossPosts[]authorbio
stringnullable

Profile text as Markdown.

dataentries[]subjectpostcrossPosts[]authoravatar
stringnullable

Avatar URL.

dataentries[]subjectpostcrossPosts[]authorbanner
stringnullable

Banner URL.

dataentries[]subjectpostcrossPosts[]authoractorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostcrossPosts[]authorhost
stringnullable

Host the account lives on.

dataentries[]subjectpostcrossPosts[]authorhandle
stringnullable

`user@host`.

dataentries[]subjectpostcrossPosts[]authorpublishedAt
stringnullable

When the account was created.

dataentries[]subjectpostcrossPosts[]authorupdatedAt
stringnullable

When the profile last changed.

dataentries[]subjectpostcrossPosts[]authorbanned
booleannullable

Whether the account is banned.

dataentries[]subjectpostcrossPosts[]authorbanExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectpostcrossPosts[]authordeleted
booleannullable

Whether the account was deleted.

dataentries[]subjectpostcrossPosts[]authorisBot
booleannullable

Whether the account is a bot.

dataentries[]subjectpostcrossPosts[]authorisLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectpostcrossPosts[]authormatrixUserId
stringnullable

Matrix id the user chose to publish.

Moderators of the community; null on list rows, which do not carry them.

dataentries[]subjectpostmoderators[]id
integer

User id on this instance.

dataentries[]subjectpostmoderators[]name
string

Username without the host.

dataentries[]subjectpostmoderators[]displayName
stringnullable

Display name.

dataentries[]subjectpostmoderators[]bio
stringnullable

Profile text as Markdown.

dataentries[]subjectpostmoderators[]avatar
stringnullable

Avatar URL.

dataentries[]subjectpostmoderators[]banner
stringnullable

Banner URL.

dataentries[]subjectpostmoderators[]actorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpostmoderators[]host
stringnullable

Host the account lives on.

dataentries[]subjectpostmoderators[]handle
stringnullable

`user@host`.

dataentries[]subjectpostmoderators[]publishedAt
stringnullable

When the account was created.

dataentries[]subjectpostmoderators[]updatedAt
stringnullable

When the profile last changed.

dataentries[]subjectpostmoderators[]banned
booleannullable

Whether the account is banned.

dataentries[]subjectpostmoderators[]banExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectpostmoderators[]deleted
booleannullable

Whether the account was deleted.

dataentries[]subjectpostmoderators[]isBot
booleannullable

Whether the account is a bot.

dataentries[]subjectpostmoderators[]isLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectpostmoderators[]matrixUserId
stringnullable

Matrix id the user chose to publish.

The comment acted on.

dataentries[]subjectcommentid
integer

Comment id on this instance.

dataentries[]subjectcommentapId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommentcontent
stringnullable

Comment text as Markdown; empty when a moderator removed it or its author deleted it.

dataentries[]subjectcommentpostId
integernullable

The post it belongs to.

dataentries[]subjectcommentpath
stringnullable

The dotted ancestor chain, from the root post (`0.1234.5678`).

dataentries[]subjectcommentdepth
integernullable

Depth in the tree, from `path`.

dataentries[]subjectcommentparentId
integernullable

The comment it replies to; null for a top-level comment.

dataentries[]subjectcommentdistinguished
booleannullable

Whether a moderator marked it as a moderator comment.

dataentries[]subjectcommentlanguageId
integernullable

Discussion language id.

dataentries[]subjectcommentisLocal
booleannullable

Whether it was written on the instance asked.

dataentries[]subjectcommentremoved
booleannullable

Whether a moderator removed it.

dataentries[]subjectcommentdeleted
booleannullable

Whether its author deleted it.

dataentries[]subjectcommentpublishedAt
stringnullable

When it was written.

dataentries[]subjectcommentupdatedAt
stringnullable

When it last changed.

dataentries[]subjectcommentscore
integernullable

Votes up minus votes down.

dataentries[]subjectcommentupvotes
integernullable

Upvotes.

dataentries[]subjectcommentdownvotes
integernullable

Downvotes.

dataentries[]subjectcommentreplyCount
integernullable

Direct replies.

dataentries[]subjectcommentisAdmin
booleannullable

Whether the author is an instance administrator.

dataentries[]subjectcommentisModerator
booleannullable

Whether the author moderates the community.

dataentries[]subjectcommentbannedFromCommunity
booleannullable

Whether the author is banned from the community.

The post it belongs to.

dataentries[]subjectcommentpostid
integer

Post id on this instance.

dataentries[]subjectcommentpostapId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommentposttitle
stringnullable

Post title.

dataentries[]subjectcommentposturl
stringnullable

Link the post points at; null for a text post.

dataentries[]subjectcommentposturlContentType
stringnullable

Content type of the link.

dataentries[]subjectcommentpostthumbnailUrl
stringnullable

Thumbnail URL.

dataentries[]subjectcommentpostnsfw
booleannullable

Whether the post is NSFW.

dataentries[]subjectcommentpostlocked
booleannullable

Whether the post is locked.

dataentries[]subjectcommentpostremoved
booleannullable

Whether a moderator removed it.

dataentries[]subjectcommentpostdeleted
booleannullable

Whether it was deleted.

dataentries[]subjectcommentpostpublishedAt
stringnullable

When it was posted.

dataentries[]subjectcommentpostupdatedAt
stringnullable

When it last changed.

dataentries[]subjectcommentpostlanguageId
integernullable

Discussion language id.

dataentries[]subjectcommentpostisLocal
booleannullable

Whether it was posted on the instance asked.

dataentries[]subjectcommentpostscore
integernullable

Votes up minus votes down.

dataentries[]subjectcommentpostupvotes
integernullable

Upvotes.

dataentries[]subjectcommentpostdownvotes
integernullable

Downvotes.

dataentries[]subjectcommentpostcommentCount
integernullable

Comments on the post.

The community it was posted in.

dataentries[]subjectcommentpostcommunityid
integer

Community id on this instance.

dataentries[]subjectcommentpostcommunityname
string

Community name without the host.

dataentries[]subjectcommentpostcommunitytitle
stringnullable

Display title.

dataentries[]subjectcommentpostcommunityactorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommentpostcommunityhost
stringnullable

Host the community lives on.

dataentries[]subjectcommentpostcommunityhandle
stringnullable

`name@host`.

dataentries[]subjectcommentpostcommunityicon
stringnullable

Community icon URL.

dataentries[]subjectcommentpostcommunitynsfw
booleannullable

Whether the community is NSFW.

dataentries[]subjectcommentpostcommunityisLocal
booleannullable

Whether the community lives on the instance asked.

Who posted it; null on a modlog row, which does not carry the creator.

dataentries[]subjectcommentpostauthorid
integer

User id on this instance.

dataentries[]subjectcommentpostauthorname
string

Username without the host.

dataentries[]subjectcommentpostauthordisplayName
stringnullable

Display name.

dataentries[]subjectcommentpostauthorbio
stringnullable

Profile text as Markdown.

dataentries[]subjectcommentpostauthoravatar
stringnullable

Avatar URL.

dataentries[]subjectcommentpostauthorbanner
stringnullable

Banner URL.

dataentries[]subjectcommentpostauthoractorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommentpostauthorhost
stringnullable

Host the account lives on.

dataentries[]subjectcommentpostauthorhandle
stringnullable

`user@host`.

dataentries[]subjectcommentpostauthorpublishedAt
stringnullable

When the account was created.

dataentries[]subjectcommentpostauthorupdatedAt
stringnullable

When the profile last changed.

dataentries[]subjectcommentpostauthorbanned
booleannullable

Whether the account is banned.

dataentries[]subjectcommentpostauthorbanExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectcommentpostauthordeleted
booleannullable

Whether the account was deleted.

dataentries[]subjectcommentpostauthorisBot
booleannullable

Whether the account is a bot.

dataentries[]subjectcommentpostauthorisLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectcommentpostauthormatrixUserId
stringnullable

Matrix id the user chose to publish.

The community of the post.

dataentries[]subjectcommentcommunityid
integer

Community id on this instance.

dataentries[]subjectcommentcommunityname
string

Community name without the host.

dataentries[]subjectcommentcommunitytitle
stringnullable

Display title.

dataentries[]subjectcommentcommunityactorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommentcommunityhost
stringnullable

Host the community lives on.

dataentries[]subjectcommentcommunityhandle
stringnullable

`name@host`.

dataentries[]subjectcommentcommunityicon
stringnullable

Community icon URL.

dataentries[]subjectcommentcommunitynsfw
booleannullable

Whether the community is NSFW.

dataentries[]subjectcommentcommunityisLocal
booleannullable

Whether the community lives on the instance asked.

Who wrote it.

dataentries[]subjectcommentauthorid
integer

User id on this instance.

dataentries[]subjectcommentauthorname
string

Username without the host.

dataentries[]subjectcommentauthordisplayName
stringnullable

Display name.

dataentries[]subjectcommentauthorbio
stringnullable

Profile text as Markdown.

dataentries[]subjectcommentauthoravatar
stringnullable

Avatar URL.

dataentries[]subjectcommentauthorbanner
stringnullable

Banner URL.

dataentries[]subjectcommentauthoractorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommentauthorhost
stringnullable

Host the account lives on.

dataentries[]subjectcommentauthorhandle
stringnullable

`user@host`.

dataentries[]subjectcommentauthorpublishedAt
stringnullable

When the account was created.

dataentries[]subjectcommentauthorupdatedAt
stringnullable

When the profile last changed.

dataentries[]subjectcommentauthorbanned
booleannullable

Whether the account is banned.

dataentries[]subjectcommentauthorbanExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectcommentauthordeleted
booleannullable

Whether the account was deleted.

dataentries[]subjectcommentauthorisBot
booleannullable

Whether the account is a bot.

dataentries[]subjectcommentauthorisLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectcommentauthormatrixUserId
stringnullable

Matrix id the user chose to publish.

The community acted on.

dataentries[]subjectcommunityid
integer

Community id on this instance.

dataentries[]subjectcommunityname
string

Community name without the host.

dataentries[]subjectcommunitytitle
stringnullable

Display title.

dataentries[]subjectcommunityactorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommunityhost
stringnullable

Host the community lives on.

dataentries[]subjectcommunityhandle
stringnullable

`name@host`.

dataentries[]subjectcommunityicon
stringnullable

Community icon URL.

dataentries[]subjectcommunitynsfw
booleannullable

Whether the community is NSFW.

dataentries[]subjectcommunityisLocal
booleannullable

Whether the community lives on the instance asked.

dataentries[]subjectcommunitydescription
stringnullable

Description as Markdown.

dataentries[]subjectcommunitybanner
stringnullable

Banner URL.

dataentries[]subjectcommunitypublishedAt
stringnullable

When the community was created.

dataentries[]subjectcommunityupdatedAt
stringnullable

When the community last changed.

dataentries[]subjectcommunityremoved
booleannullable

Whether a moderator removed the community.

dataentries[]subjectcommunitydeleted
booleannullable

Whether the community was deleted.

dataentries[]subjectcommunityhidden
booleannullable

Whether the community is hidden.

dataentries[]subjectcommunitypostingRestrictedToMods
booleannullable

Whether only moderators may post.

dataentries[]subjectcommunityvisibility
stringnullable

`Public` or another visibility the instance reports.

dataentries[]subjectcommunitysubscriberCount
integernullable

Subscribers.

dataentries[]subjectcommunitylocalSubscriberCount
integernullable

Subscribers on the community's own instance.

dataentries[]subjectcommunitypostCount
integernullable

Posts in the community.

dataentries[]subjectcommunitycommentCount
integernullable

Comments in the community.

Active users in the community.

dataentries[]subjectcommunityactiveUsersday
integernullable

Active users today.

dataentries[]subjectcommunityactiveUsersweek
integernullable

Active users this week.

dataentries[]subjectcommunityactiveUsersmonth
integernullable

Active users this month.

dataentries[]subjectcommunityactiveUsershalfYear
integernullable

Active users in the last six months.

Moderators; null on list rows, which do not carry them.

dataentries[]subjectcommunitymoderators[]id
integer

User id on this instance.

dataentries[]subjectcommunitymoderators[]name
string

Username without the host.

dataentries[]subjectcommunitymoderators[]displayName
stringnullable

Display name.

dataentries[]subjectcommunitymoderators[]bio
stringnullable

Profile text as Markdown.

dataentries[]subjectcommunitymoderators[]avatar
stringnullable

Avatar URL.

dataentries[]subjectcommunitymoderators[]banner
stringnullable

Banner URL.

dataentries[]subjectcommunitymoderators[]actorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectcommunitymoderators[]host
stringnullable

Host the account lives on.

dataentries[]subjectcommunitymoderators[]handle
stringnullable

`user@host`.

dataentries[]subjectcommunitymoderators[]publishedAt
stringnullable

When the account was created.

dataentries[]subjectcommunitymoderators[]updatedAt
stringnullable

When the profile last changed.

dataentries[]subjectcommunitymoderators[]banned
booleannullable

Whether the account is banned.

dataentries[]subjectcommunitymoderators[]banExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectcommunitymoderators[]deleted
booleannullable

Whether the account was deleted.

dataentries[]subjectcommunitymoderators[]isBot
booleannullable

Whether the account is a bot.

dataentries[]subjectcommunitymoderators[]isLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectcommunitymoderators[]matrixUserId
stringnullable

Matrix id the user chose to publish.

Discussion language ids; null on rows that do not carry them. The instance endpoint maps ids to language codes.

dataentries[]subjectcommunitylanguageIds[]
integeroptional

The person acted on, when the answer names one.

dataentries[]subjectpersonid
integer

User id on this instance.

dataentries[]subjectpersonname
string

Username without the host.

dataentries[]subjectpersondisplayName
stringnullable

Display name.

dataentries[]subjectpersonbio
stringnullable

Profile text as Markdown.

dataentries[]subjectpersonavatar
stringnullable

Avatar URL.

dataentries[]subjectpersonbanner
stringnullable

Banner URL.

dataentries[]subjectpersonactorId
stringnullable

Canonical ActivityPub id.

dataentries[]subjectpersonhost
stringnullable

Host the account lives on.

dataentries[]subjectpersonhandle
stringnullable

`user@host`.

dataentries[]subjectpersonpublishedAt
stringnullable

When the account was created.

dataentries[]subjectpersonupdatedAt
stringnullable

When the profile last changed.

dataentries[]subjectpersonbanned
booleannullable

Whether the account is banned.

dataentries[]subjectpersonbanExpiresAt
stringnullable

When the ban ends.

dataentries[]subjectpersondeleted
booleannullable

Whether the account was deleted.

dataentries[]subjectpersonisBot
booleannullable

Whether the account is a bot.

dataentries[]subjectpersonisLocal
booleannullable

Whether the account lives on the instance asked.

dataentries[]subjectpersonmatrixUserId
stringnullable

Matrix id the user chose to publish.

Pagination state for the current page.

datapagepage
integer

Current page number. Lemmy pages by number over a live order, so new or re-ranked items can shift a row onto the next page. Remove repeats by `id`.

≥ 0

datapagehasMore
boolean

Whether a full page came back, so another page may exist. A last page that exactly fills the limit still sets true, and the next page is then empty.

datapagenextPage
integernullable

Next page number; null when this page was short, so the list ended.

≥ 0

datapagenextCursor
stringnullable

Cursor to pass in the next request; null when this page was short. It only works with the same filters.

datapagelimitReached
boolean

True when a full page stopped at the instance's 100-page ceiling and rows may remain. False when the list ended because it ran out.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/lemmy/modlog?instance=lemmy.world" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Moderation log.