Discourse Search

read-onlyidempotentopen-world
discourse_search

Search site content. Returns JSON object with results array of matching topics (id, slug, title) and meta (total, has_more).

Parameters

querystringrequired

Search query

max_resultsinteger[1, 50]

Filter Topics

read-onlyidempotentopen-world
discourse_filter_topics

Discover topics through a filtered, top, or hot view. Filtered uses Discourse TopicsFilter syntax; top uses Discourse's authoritative top score and defaults to weekly; hot is defined exactly as daily top (not sentiment, controversy, or real-time velocity). Returns a uniform rich topic projection and truthful pagination metadata.

Parameters

filterstring

TopicsFilter query (required for the filtered view)

viewstringfilteredtophotfiltered
top_periodstringdailyweeklymonthlyquarterlyyearlyall

Top period (top view only; defaults to weekly)

pageinteger>= 0

Page number (0-based, default: 0)

per_pageinteger[1, 50]

Items per page (default 20, max 50)

Search Posts

read-onlyidempotentopen-world
discourse_search_posts

Search post-level evidence with Discourse query syntax. Unlike discourse_search, this preserves matched posts, highlighted blurbs, authors, topics, categories, and truthful bounded continuation. This is keyword search, not Discourse AI semantic search.

Parameters

querystringrequired
pageinteger[1, 10]