# Additional Assets

Source: https://zshot-cli.com/reference/server/additional-assets/
Markdown: https://zshot-cli.com/reference/server/additional-assets/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Server](https://zshot-cli.com/reference/server/)

A render returns its primary output as the response body. It can also produce additional artifacts.
Request each with its matching `with_*` field: `with_har`, `with_warc`, `with_archive_cdx`,
`with_pprof_cpu`, `with_pprof_memory`, `with_trace`, `with_navigator_video`, `with_network_log`,
and `with_axtree`. Most are booleans; `with_axtree` instead takes `true`/`json` for the JSON
accessibility tree or `text` for the indented snapshot. `with_archive_cdx` produces a CDXJ index
of the WARC and requires one: `output_type=warc` or `with_warc=true`.

## The `Link` header

Each asset the server produces is written to a temporary location and advertised with a `Link`
header on the render response, one per asset:

```
Link: </assets?file=<id>.har>; rel="related"; type="application/json"
```

The URL is relative, so it resolves against whatever host or reverse proxy fronts the server. Fetch
the asset with a GET to that URL. Its lifetime is set by
[`--server-additional-asset-expiration`](/reference/flags/server/server-additional-asset-expiration);
after it expires the URL returns 404. A lifetime of `0` turns additional assets off: the server
writes none and sends no `Link` headers.

When the server requires [signed URLs](/reference/server/authentication#signed-urls), each asset
link is signed and its `expires` is the asset's lifetime, capped by
[`--server-signed-url-max-age`](/reference/flags/server/server-signed-url-max-age).

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
    - [API](https://zshot-cli.com/reference/server/api/)
    - [Endpoints](https://zshot-cli.com/reference/server/endpoints/)
    - [Metrics](https://zshot-cli.com/reference/server/metrics/)
    - **Additional Assets**
    - [Authentication](https://zshot-cli.com/reference/server/authentication/)
    - [Caching](https://zshot-cli.com/reference/server/caching/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

