---
canonical: "https://agi-labo.com/en/tools/cockpit/docs/cockpit-cli/reference/html"
title: "cockpit html"
description: "Generated reference for cockpit html, including its syntax, options, results, and constraints from the canonical cockpit CLI source."
section: "Reference"
order: 109
pageType: reference
lastVerifiedVersion: 4.61.0
lastVerifiedAt: "2026-08-27"
draft: false
surfaces:
  - cli
operatingSystems:
  - windows
  - macos
  - linux
plans:
  - guest
  - member
navigation: false
---

This reference is generated from the same canonical source distributed as cockpit CLI help. See [Cockpit CLI](/en/tools/cockpit/docs/cockpit-cli) for concepts and safe operating guidance.

HTML surfaces render agent-generated HTML as an interactive screen attached to the current task. Prefer a surface over long Markdown when presenting comparisons, dashboards, or summaries with structure.

```bash
cat report.html | cockpit html show --stdin   # Render an HTML surface for the current task
cockpit html get                              # Get the current HTML surface
cockpit html list                             # List HTML surfaces for the current task
cockpit side-panel html --surface-id latest   # Open a surface in the right side panel
```

Do not use HTML surfaces for browser navigation — use `cockpit browser` for real web pages.
