Unit margin, realized margin, and FX effect as three lines (admin only)

The three margins of §6, computed separately and never mixed.

Unit margin is product economics at a frozen price — it moves when a model gets pricier or a prompt gets fatter. Realized margin is the accounting number, at booking rates, net of VAT and provider fees. FX effect is the gap. Folded together, a pricing problem and a currency problem look identical.

get/v1/admin/margin-report

Request

  • Base URL: https://api.clichefactory.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.clichefactory.com/v1/admin/margin-report
  • Auth: none declared

Query parameters

startstring nullable

ISO datetime, inclusive.

endstring nullable

ISO datetime, inclusive.

Headers

X-API-KEYstring nullable

Response

Successful Response

from_datestring date-time nullable
to_datestring date-time nullable
functional_currencystring
credits_burnedinteger

Changes

No recorded changes to this operation across all 1 revision of this API.