Formatwerk
mermaid render
Runs mermaid 12.2 from node_modules (no CDN) in a fresh incognito Chrome context with all network requests blocked, initialised with securityLevel strict (labels sanitised, no click callbacks, no HTML labels) and deterministic ids; directives cannot lift the protected security keys. Syntax errors return the parser message. PNG is rasterised by Chrome from the SVG.
POST https://format.halowerk.com/v1/mermaid-renderInputs
| Field | Type | Required | Description |
|---|---|---|---|
| code | string | Yes | Mermaid diagram source. |
| theme | string | No | |
| format | string | No | svg, png (rasterised by Chrome) or both. |
| scale | number | No | Device pixel ratio for PNG output. |
| background | string | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 50000,
"description": "Mermaid diagram source."
},
"theme": {
"type": "string",
"enum": [
"default",
"neutral",
"dark",
"forest",
"base"
],
"default": "default"
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"both"
],
"default": "svg",
"description": "svg, png (rasterised by Chrome) or both."
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 4,
"default": 2,
"description": "Device pixel ratio for PNG output."
},
"background": {
"type": "string",
"enum": [
"white",
"transparent"
],
"default": "white"
}
}
}Published input example
{
"code": "flowchart TD\n A[Order received] --> B{Paid?}\n B -->|yes| C[Ship]\n B -->|no| D[Send reminder]",
"format": "svg"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Formatwerk0.004 USDC
accounting csv unify
POSThttps://format.halowerk.com/v1/accounting-csv-unifyDATEV booking batch files (EXTF/DTVF, category 21) are read by their documented field positions: amount and S/H become a signed amount relative to the account, Belegdatum TTMM is resolved within the fiscal year from the header. Other export
- Formatwerk0.005 USDC
avv checklist
POSThttps://format.halowerk.com/v1/avv-checklistChecklist after Art. 28 GDPR (Regulation (EU) 2016/679 Art. 28 (GDPR), https://eur-lex.europa.eu/eli/reg/2016/679/oj, German and English text retrieved from the EU Publications Office 2026-11-01): Art. 28(3) sentence 1 (subject-matter, dura
- Formatwerk0.004 USDC
bagit package
POSThttps://format.halowerk.com/v1/bagit-packageCreate: files go to data/, manifest-<alg>.txt and tagmanifest-<alg>.txt are written for SHA-256 (default), SHA-512 or legacy SHA-1/MD5, bag-info.txt gets your metadata plus Bagging-Date, Bag-Size and Payload-Oxum; paths are checked (no abso