AUROS Protocol

Documentation · Endpoints

POST /api/v1/chargeflow/w (Premium)

AUROS ChargeFlow CFU-W — enregistre un flux hydrique m³ en unité de flux hashée + HMAC, avec H₂O companion.

Enregistrer une CFU-W

Premium. Entrée : JSON flow (volume_m3 + contexte). Sortie : `cfu_w_*`, hash, HMAC (`auros-cfu-w:v1:`), enrichment H₂O.

Même unicité / retirement que CFU-E. UI : /eau/chargeflow · verify /chargeflow/{id}.

Batch : POST /api/v1/chargeflow/w/batch (max 50).

curl -X POST https://getauros.com/api/v1/chargeflow/w \
  -H "Authorization: Bearer auros_pk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "flow": {
      "external_flow_id": "flow_001",
      "started_at": "2026-07-01T00:00:00Z",
      "ended_at": "2026-07-31T23:59:59Z",
      "volume_m3": 125000,
      "location": { "country": "FR", "basin_id": "seine" },
      "operator_id": "utility_demo",
      "source_format": "json_custom"
    },
    "attributes": { "asset_class_hint": "concession" }
  }'

Vérifier

GET /api/v1/chargeflow/w/verify?id=cfu_w_…

Demo sandbox : POST /api/v1/chargeflow/w/demo

← Retour à la documentation