ZAP API UI

Component: ajaxSpider

Action: setOptionMaxCrawlStates

Sets the maximum number of states that the crawler should crawl.
Output Format
apikey*
Form Method
Integer*The maximum number of states that the AJAX Spider should explore (zero means unlimited crawl states, default is 0)