MediaWiki:Apihelp-query+threads-param-rendermaxdepth/en

When rendering, the maximum depth of replies to show before showing a "Show X replies" link instead of replies.