Formatwerk
vega render
Compiles Vega-Lite 6.5 to Vega 6.4 and renders to SVG with the string renderer (no canvas); PNG comes from the Chrome canvas. Both libraries run from node_modules inside a sandboxed Chrome renderer with network blocked, so Vega expressions never run in the API process. Data must be inline: any url is rejected and loader access is blocked and reported. Returns size, mark item count and warnings.
POST https://format.halowerk.com/v1/vega-renderInputs
| Field | Type | Required | Description |
|---|---|---|---|
| spec | object | Yes | Vega-Lite or Vega specification with inline data values. |
| spec_type | string | No | |
| format | string | No | svg, png (rasterised by Chrome) or both. |
| scale | number | No | Device pixel ratio for PNG output. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "Vega-Lite or Vega specification with inline data values."
},
"spec_type": {
"type": "string",
"enum": [
"auto",
"vega-lite",
"vega"
],
"default": "auto"
},
"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."
}
}
}Published input example
{
"spec": {
"data": {
"values": [
{
"month": "Jan",
"revenue": 120
},
{
"month": "Feb",
"revenue": 180
}
]
},
"mark": "bar",
"encoding": {
"x": {
"field": "month",
"type": "nominal"
},
"y": {
"field": "revenue",
"type": "quantitative"
}
}
}
}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