Hyperscale docs Sign in Start building

Retrieve the product margin view

product.margin.retrieve

Joins the product's frozen plan rate card (the buy side: what the tenant pays Hyperscale per earnable operation) with its configured earn rates (the sell side: what the tenant charges on the same operations) into one per-operation margin line, so the tenant sees what each business event nets before setting prices.

GET /v1/products/{productId}/margin

Scopes: product:read

Input

FieldTypeDescription
productId requiredstringHyperscale product ID

Request sample

curl --request GET 'https://console.hyperscale0.ai/v1/products/{productId}/margin' \
  --header "Authorization: Bearer $HYPERSCALE_API_KEY" \
  --header 'X-Hyperscale-Environment: sandbox'

All operations