zshot/cliDownload

--network-log

ValuePATH

Write a JSON log of the page’s network requests and responses alongside another output. Takes a path:

zshot --output-type png --network-log page.network.json https://zshot-cli.com -f page.png

For a full archive of request and response bodies, use --har or --warc instead.

On the HTTP server, request this as with_network_log=true instead of a path. The server writes the log to a temporary location and returns its URL in a Link response header. See the API reference for reading those links and --server-additional-asset-expiration for how long they live.