Skip to content
API
Worker API

Worker API

Endpoint

POST /transform

The Cloudflare Worker handles synchronous transforms for json-akn4eu and xml-akn4eu. It is intended for low-latency canonical output generation.

Request shape

{
  "input": "Article 6 ...",
  "format": "json-akn4eu"
}

Response shape

{
  "output": {
    "document": "..."
  },
  "hash": "sha256:..."
}

Notes

The final reference will specify validation rules, error payloads, rate limits, and any authentication headers required for non-public deployments.