#!/usr/bin/env bash
# Calculation API v2: same key, same body, /v2 inserted after /api.
# Replace YOUR_API_KEY with the key issued after approval.
# savePayload=false keeps API calls compute-only (do not persist org input).
# Add &extended=true to the query string if you use the extended response.

curl -sS -X POST \
  "https://app.viablepathway.net/api/v2/calculate?savePayload=false" \
  -H "Content-Type: application/json" \
  -H "Authorization: ApiKey YOUR_API_KEY" \
  -d @request-v1.json
