Overview

Lead to eight sessions by lead month, from the current practice packet

Changed on

#4964 (Augusto's decisions, #4964 c7008793366; Lead's option A, bounded): read-only, from the current approved practice packet's leadFunnel aggregate. One cohort per month the leads coverage touches, oldest first. A month the packet holds no cohort for (a partly covered edge month) is covered: false with every figure null, never zero; a covered month with no leads reads 0. In a covered month, notCovered names the counts its export doesn't carry (firstBooked, transferredIn, broughtClients, sessions.consults, sessions.booked), null in the practice and therapist rows, never 0 (median-ops #599); notCovered is null in a month not covered. therapists lists only the clinicians with a credited lead or brought client, with the roster's key and label in roster order; an absent clinician is 0. milestone.status: too_recent when no window has ended yet, partial when some have, observed when all have, none without a first completed session. Without a packet or aggregate: unavailable with no_packet or no_lead_funnel. Human sessions only (API keys 403). 404 unless practice_metrics is in the company's additionalMetrics list.

get/companies/{companyId}/metrics/practice/lead-funnel

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Response

The lead-to-eight-sessions cohorts, or why they are unavailable

PracticeLeadFunnelResponse required
success, true required
data, object required

Changes

    • breaking

      the response property data/cohorts/items/practice/oneOf[#/components/schemas/LeadFunnelStage]/transferredIn became nullable for the status

    • breaking

      the response property data/cohorts/items/therapists/items/allOf[#/components/schemas/LeadFunnelStage]/transferredIn became nullable for the status

    • warning

      added the new transferredIn enum value to the data/cohorts/items/notCovered/items response property for the response status