ZAP API UI
Component: ajaxSpider
Action: setOptionMaxCrawlStates
Sets the maximum number of states that the crawler should crawl.
Output Format
JSON
JSONP
HTML
XML
apikey*
Form Method
GET
POST
Integer*
The maximum number of states that the AJAX Spider should explore (zero means unlimited crawl states, default is 0)