Community (opt-in)

Activity

Get Post Replies

read-onlyidempotentopen-world
discourse_get_post_replies

Read reply relationships for a post as recursive descendant IDs, bounded rich direct replies, or the upstream-bounded ancestor history. Preserves upstream ordering and references.

Parameters

post_idintegerrequired
modestringreply_idsdirect_repliesreply_history

reply_ids returns recursive descendant IDs; direct_replies returns up to 20 rich direct replies; reply_history returns ancestors

after_post_numberinteger>= 0

List Latest Posts

read-onlyidempotentopen-world
discourse_list_latest_posts

List the site's latest visible posts using Discourse's fixed 50-post page and post-ID cursor. Anonymous upstream responses expire after one minute; results are a feed, not an exhaustive history.

Parameters

before_post_idinteger
replies_onlyboolean

Get Topic View Stats

read-onlyidempotentopen-world
discourse_get_topic_view_stats

Get up to 300 ascending daily topic view counts. Views combine anonymous and logged-in views; they are not unique viewers or an engagement judgment.

Parameters

topic_idintegerrequired
fromstring
tostring

Get User Summary

read-onlyidempotentopen-world
discourse_get_user_summary

Get profile-visible aggregate user activity, top topics/replies/links, interaction partners, categories, badges, likes, visits, reading, and post/topic counts. Missing metrics remain null when hidden or unavailable.

Parameters

usernamestringrequired

List User Actions

read-onlyidempotentopen-world
discourse_list_user_actions

List a user's visible activity using model-friendly action names. Plugin-backed action families can legitimately be empty; emptiness does not prove that a feature is unavailable.

Parameters

usernamestringrequired
acting_usernamestring
action_typesArray<string>likeswas_likedtopicsrepliesresponsesmentionsquoteseditsprivate_messages_sentprivate_messages_receivedsolvedassignedlinked
offsetinteger>= 0
limitinteger[1, 100]

List Directory Items

read-onlyidempotentopen-world
discourse_list_directory_items

List user-directory/cohort metrics with authoritative totals and continuation. Supports Discourse periods, ordering, visible groups, page 0-10, and the upstream maximum of 50 rows.

Parameters

periodstringdailyweeklymonthlyquarterlyyearlyallrequired
orderstring
ascendingboolean
groupstring
pageinteger[0, 10]
limitinteger[1, 50]
namestring
usernamestring
exclude_groupsArray<string>
exclude_usernamesArray<string>