ZAP API UI

Component: context

Action: exportContext

Exports the context with the given name to a file. If a relative file path is specified it will be resolved against the "contexts" directory in ZAP "home" dir.
Output Format
apikey*
Form Method
contextName*The name of the context
contextFile*