Customer SaaS metrics envelope (accountant mirror)
Changed onAccountant-scoped mirror of GET /companies/{companyId}/metrics/saas. Unlike the customer mount, entityId is optional here — it defaults to the customer's single concrete entity. Entity scope is resolved from the customer's own entity roster (accountants hold no per-user entity grants): an explicit entityId must be one of the customer's concrete (non-group) entities; absent, the customer's single concrete entity is used; a multi-entity customer without entityId gets 422 ENTITY_SELECTION_REQUIRED and a customer with no entity gets 422 ENTITY_SCOPE_UNAVAILABLE.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Query parameters
Concrete legal entity to read on Home. Omission is accepted only when the actor is authorized to exactly one concrete entity. Consolidated or group scope is not silently collapsed to an arbitrary entity.
Response
SaaS metrics envelope (same shape as the customer mount)
Example response
{
"data": {
"mrr": {
"live": {
"month": "2026-09"
}
}
}
}Changes
- warning
added the new
history_gap_before_first_live_monthenum value to thedata/ltv/reasonresponse property for the response status - warning
added the new
incremental_liveenum value to thedata/mrr/reasonresponse property for the response status - info
added the optional property
data/ltv/firstLiveMonthto the response with the status
2 more changes in this revision
- warning