Upload patient-free practice-metric aggregates for a customer
Upserts the practice-metrics aggregate feed for one customer: per-member revenue/cost/hours, per-channel spend and customer counts, and owner-pay scalars the Median GL cannot compute itself. Idempotent on (metricKey, period, dimensionKey): re-uploading the same payload rewrites the same rows. Optional retireDimensionKeys deletes only those explicit superseded labels before the upsert so a clinician-name re-upload cannot double-count member_a alongside Alex Rivera. Dimension keys may contain staff display names or channel names, but must not contain patient identifiers; values shaped like emails or phone numbers are rejected (422). Requests are capped at 2000 points; cents series values must be integers. Optionally upserts the practice config in the same request. Deliberately NOT gated by the customer's additionalMetrics list, so the feed loads before practice_metrics is listed. This is the currently configured accountant-upload path; it is not a scheduled connector.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Capped at 2000 points per request. cents series values must be integers; duplicate (period, dimensionKey) points within a series are rejected. Dimension keys may be staff display names or channel names but must not contain patient identifiers; email-shaped and phone-number-shaped values are rejected. retireDimensionKeys deletes only those listed labels for the customer before the upsert; a key listed there and also present in series is rejected (422).
Partial practice config — omitted fields keep their stored values.
Explicit superseded dimension labels to delete before this upsert (for example member_a after a clinician-name re-upload). Empty string (scalar) keys are rejected.
Response
Upload accepted; reports rows written and the effective config
Changes
No recorded changes to this operation across all 110 revisions of this API.