Docs / Getting Started

Quickstart: Regulator workflow

Issue a regulator key, generate a regulator packet, and export receipts.

One‑command script

curl -sL https://gvner.com/docs/getting-started/regulator-workflow.sh | BASE_URL="http://209.46.122.136/api" TENANT_ID="acme" TOKEN="<YOUR_TENANT_TOKEN>" bash

1) Issue regulator key

curl -s -X POST "$BASE_URL/regulator/key" \ -H "X-Tenant-Token: $TOKEN" \ -H "Content-Type: application/json" \ -d '{"tenant_id":"acme","ttl_minutes":1440,"allowed_views":["packet"]}' | tee /tmp/reg-key.json | jq
REG_KEY=$(python3 - <<'PY' import json print(json.load(open("/tmp/reg-key.json"))["regulator_key"]) PY )
Regulator workflow

2) Export regulator packet

curl -s "$BASE_URL/regulator/packet?format=pdf" \ -H "X-Regulator-Key: $REG_KEY" -o regulator-packet.pdf

How to use

1. Issue key

Generate a regulator key with TTL.

2. Export packet

Generate regulator PDF/JSON evidence.

3. Verify receipts

Match hash + registry references.

Key API endpoints

POST /regulator/key — issue regulator key
GET /regulator/packet — export regulator packet
GET /exports/receipt — export receipt

Evidence outputs

Regulator packet PDF/JSON
Export registry entries
Receipt hash for verification