Open main menu
Edit
MediaWiki:Apihelp-query+search-param-namespace
Search only within these namespaces.