edstem threads lists, searches, shows, and reads threads in a unit. Posting a new thread is a mutation, covered separately in Posting.
List threads in a unit
edstem threads UNIT and edstem threads list UNIT are the same command — list is the default verb for one argument.
Search threads
search matches every query word, case-insensitively, against the thread title and body. All words must appear; there’s no OR or phrase search. It accepts every filter threads list accepts.
Show and read a thread
show returns the thread as structured data — metadata, metrics, flags, and (with --include-html) the raw Ed document — for --json/--yaml/--table output. read renders the same thread as Markdown, meant for a human or an agent to read as prose rather than parse as fields; it never changes anything on Ed. See Output formats for the difference between structured and text output.
--include-html on show adds the raw Ed XML content alongside the parsed fields; leave it off unless you need the original markup.
Filters
All of these apply to boththreads list and threads search.
--answered and --unanswered are mutually exclusive; passing both is a usage error.
Ed keeps pinned threads first in a unit’s thread list regardless of the selected --sort order.
--since
Accepts an ISO date (2026-09-01), an ISO datetime (2026-09-01T10:00:00Z), a relative offset (a number followed by d, h, or w: 7d, 12h, 2w), or last. See Catch up since your last visit for last.
How filtering works
Ed itself only understands--sort; everything else (--category, --type, --answered, --since, and search words) is applied by the CLI after Ed returns results.
That means --limit 20 --unanswered can’t stop as soon as Ed’s first batch of threads comes back, if fewer than 20 unanswered ones are in it. The CLI keeps asking Ed for more until it has enough matches, runs out of threads, or has made ten requests. If you ask for --sort new (the default) with --since, it also stops early once the threads coming back are older than the cutoff, since everything after that will be older still.
A narrow filter on a large, old unit can therefore make threads list slower than an unfiltered call, and can still return fewer than --limit results if the unit genuinely doesn’t have that many matches.
Catch up since your last visit
Two ways to see what is new:--unread keeps threads Ed reports as unseen. --since last keeps threads created since your last catch-up listing of that unit. The first time, it looks back seven days.
The CLI remembers your last catch-up on your machine, separately for each unit, so two enrolments that share a code never mix. It moves the marker forward only after a complete, plain listing:
- Search, any filter (
--category,--subcategory,--type,--answered,--unanswered,--unread), a nonzero--offset, or a sort other thannewleave it where it is. - A result that reaches
--limitor the ten-request cap leaves it unchanged and prints a warning, so you never skip threads. Raise--limitto see the rest. - A failed fetch leaves it unchanged too.
Star, watch, vote and mark read
These commands change a thread’s state in Ed. Each one prints a plan and asksy/N in a terminal; scripts pass --yes, and --dry-run shows the plan without changing anything. See Mutations.
Each command checks the thread first and skips the change if it is already in the requested state.
threads show reports the current state as isStarred, isWatched (null when the thread follows the unit’s default) and vote. These changes are never retried automatically, and they are available from the CLI only, not over MCP.
Export a forum
Save a unit’s threads and attachments as Markdown.
Post a thread or reply
threads send and replies send.