Write a HAR of the page’s network activity as a sidecar alongside another output. Takes a path:

zshot --output-type png --har page.har https://zshot-cli.com -f page.png

Capture response bodies with --har-capture-bodies. To emit a HAR as the primary output instead of a sidecar, use --output-type har.

This is a Standard-tier flag.

On the HTTP server, request this as with_har=true instead of a path. The server writes the HAR 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.