ZAP API UI

Component: ajaxSpider

Action: setOptionMaxDuration

The maximum time that the crawler is allowed to run.
Output Format
apikey*
Form Method
Integer*The maximum amount of time that the AJAX Spider is allowed to run (zero means unlimited running time, default is 60 minutes).