Discourse Extended icon

Discourse Extended

Read and manage Discourse AI artifacts, categories, posts, topics, personal messages, uploads, and Data Explorer queries

Topic → Get Many (Latest)

AI-generated

Summary

Fetches the latest Discourse topics from a specific category, ordered by a selected field.

Inputs

  • returnAll — Whether to return all results or only up to a given limit. Ignored if 'Limit' is set to 0.
  • limit — Max number of results to return. Ignored if 'Return All' is true.
  • order — The field to order topics by: Activity, Category, Created, Default, Posts, or Views.
  • ascending — Whether to sort the results in ascending (oldest first) or descending (newest first) order.
  • simplify — Whether to return a simplified version of the response instead of the raw API data.

Output shape

A list of topic items.

By default, the operation returns simplified topic objects. If 'Simplify' is disabled, the raw API response structure is returned.

Examples

Example 1: Fetch the 50 most recent topics from a category sorted by view count in descending order.

Limit: 50, Order: Views, Ascending: false, Simplify: true

Example 2: Retrieve all latest topics sorted by creation date in ascending order.

Return All: true, Order: Created, Ascending: true

Links

Discussion