MediaWiki:Apihelp-abusefiltercheckmatch-description/en

Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.

vars, rcid or logid is required however only one may be used.