# Decision Record – Escaped HTML Preview

> Decision Record – Escaped HTML Preview is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Converts a decision record document (Markdown or plain text) into an escaped HTML preview string using deterministic template processing.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-writing-decision-record-safe-html?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/decision-record-escaped-html-preview-c86642e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UsZQCHuzW3nXlz2LOBV9f

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability decision-record-escaped-html-preview-c86642e8 -d '<json body>'
```

Example prompt: Can you convert this decision record into an escaped HTML preview? Here's the document: '## Context
We need to choose a caching strategy.

## Decision
We will use Redis.

## Consequences
All services must support Redis connections.'

## When to prefer this

Choose this endpoint when you need a fast, deterministic, safe escaped HTML rendering of a decision record document and want to avoid any generative AI involvement. It is ideal for automated documentation pipelines, static site generators, and compliance dashboards where reproducibility and XSS safety are required. Prefer this over general-purpose markdown renderers when the input follows a decision record structure (Context / Decision / Consequences) and you need the output scoped to that template profile.

## Known failure modes

- Input text exceeds 20,000 character limit — request rejected
- Malformed or missing text field — validation error returned
- Payment not included or insufficient USDC — 402 Payment Required
- Service unavailable or timeout — transient infrastructure error

## How this service works

Decision record - Escaped HTML preview: Escaped HTML preview for Decision record. Supplied Markdown or plain text, up to 20,000 characters. Deterministic processing and document templates; no generative prose or fact checking. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded escaped html preview deliverable.

## Output

Returns an escaped HTML string representing the rendered decision record document — suitable for safe embedding in web pages without XSS risk. The output is deterministically produced from the supplied Markdown or plain text using fixed document templates, with no generative AI prose or fact-checking applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "default": "## Context\nExample 1 content.\nTODO: review the supplied document by 2026-10-10.\n\n## Decision\nExample 2 content.\nTODO: review the supplied document by 2026-10-10.\n\n## Consequences\nExample 3 content.\nTODO: review the supplied document by 2026-10-10.",
   "maxLength": 20000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/decision-record-escaped-html-preview-c86642e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
