<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>608</ContextCount>
  <ElementCount>436</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>164</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED STATEMENTS OF MEZZANINE AND STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF MEZZANINE AND STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Disclosure - Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/DescriptionofBusiness</Role>
      <ShortName>Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Business Combinations, Asset Acquisitions, and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwill</Role>
      <ShortName>Business Combinations, Asset Acquisitions, and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Investments in Other Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/InvestmentsinOtherEntities</Role>
      <ShortName>Investments in Other Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Loan Receivable and Loan Receivable ??? Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedParties</Role>
      <ShortName>Loan Receivable and Loan Receivable ??? Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Accounts Payable and Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/AccountsPayableandAccruedExpenses</Role>
      <ShortName>Accounts Payable and Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Medical Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MedicalLiabilities</Role>
      <ShortName>Medical Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Credit Facility, Bank Loans, and Lines of Credit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCredit</Role>
      <ShortName>Credit Facility, Bank Loans, and Lines of Credit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Mezzanine and Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MezzanineandStockholdersEquity</Role>
      <ShortName>Mezzanine and Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Related-Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/RelatedPartyTransactions</Role>
      <ShortName>Related-Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Variable Interest Entities (VIEs)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/VariableInterestEntitiesVIEs</Role>
      <ShortName>Variable Interest Entities (VIEs)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/Segments</Role>
      <ShortName>Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Fair Value Measurements of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstruments</Role>
      <ShortName>Fair Value Measurements of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - Business Combinations, Asset Acquisitions, and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillTables</Role>
      <ShortName>Business Combinations, Asset Acquisitions, and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwill</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/IntangibleAssetsNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - Investments in Other Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/InvestmentsinOtherEntitiesTables</Role>
      <ShortName>Investments in Other Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/InvestmentsinOtherEntities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - Accounts Payable and Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/AccountsPayableandAccruedExpensesTables</Role>
      <ShortName>Accounts Payable and Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/AccountsPayableandAccruedExpenses</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - Medical Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MedicalLiabilitiesTables</Role>
      <ShortName>Medical Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/MedicalLiabilities</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - Credit Facility, Bank Loans, and Lines of Credit (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditTables</Role>
      <ShortName>Credit Facility, Bank Loans, and Lines of Credit (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCredit</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/StockBasedCompensation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - Related-Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related-Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/RelatedPartyTransactions</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/EarningsPerShare</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - Variable Interest Entities (VIEs) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/VariableInterestEntitiesVIEsTables</Role>
      <ShortName>Variable Interest Entities (VIEs) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/VariableInterestEntitiesVIEs</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/Leases</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/SegmentsTables</Role>
      <ShortName>Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/Segments</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - Fair Value Measurements of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsTables</Role>
      <ShortName>Fair Value Measurements of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstruments</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/DescriptionofBusinessDetails</Role>
      <ShortName>Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/DescriptionofBusiness</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Schedule of Disaggregated Revenue by Each Payer Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayerTypeDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Schedule of Disaggregated Revenue by Each Payer Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Schedule of Contributions to Revenue and Receivables by Payer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayerDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Schedule of Contributions to Revenue and Receivables by Payer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - Business Combinations, Asset Acquisitions, and Goodwill - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails</Role>
      <ShortName>Business Combinations, Asset Acquisitions, and Goodwill - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - Business Combinations, Asset Acquisitions, and Goodwill - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillScheduleofGoodwillDetails</Role>
      <ShortName>Business Combinations, Asset Acquisitions, and Goodwill - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - Intangible Assets, Net - Schedule of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IntangibleAssetsNetScheduleofIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets, Net - Schedule of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - Intangible Assets, Net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IntangibleAssetsNetAdditionalInformationDetails</Role>
      <ShortName>Intangible Assets, Net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - Intangible Assets, Net - Schedule of Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IntangibleAssetsNetScheduleofFutureAmortizationExpenseDetails</Role>
      <ShortName>Intangible Assets, Net - Schedule of Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - Investments in Other Entities - Schedule of Equity Method Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails</Role>
      <ShortName>Investments in Other Entities - Schedule of Equity Method Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - Investments in Other Entities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/InvestmentsinOtherEntitiesAdditionalInformationDetails</Role>
      <ShortName>Investments in Other Entities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - Loan Receivable and Loan Receivable ??? Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedPartiesDetails</Role>
      <ShortName>Loan Receivable and Loan Receivable ??? Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedParties</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - Accounts Payable and Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/AccountsPayableandAccruedExpensesDetails</Role>
      <ShortName>Accounts Payable and Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/AccountsPayableandAccruedExpensesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - Medical Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MedicalLiabilitiesDetails</Role>
      <ShortName>Medical Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/MedicalLiabilitiesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - Credit Facility, Bank Loans, and Lines of Credit - Schedule of Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails</Role>
      <ShortName>Credit Facility, Bank Loans, and Lines of Credit - Schedule of Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - Credit Facility, Bank Loans, and Lines of Credit - Schedule of Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditScheduleofMaturitiesDetails</Role>
      <ShortName>Credit Facility, Bank Loans, and Lines of Credit - Schedule of Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - Credit Facility, Bank Loans, and Lines of Credit - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails</Role>
      <ShortName>Credit Facility, Bank Loans, and Lines of Credit - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - Mezzanine and Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MezzanineandStockholdersEquityDetails</Role>
      <ShortName>Mezzanine and Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/MezzanineandStockholdersEquity</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - Stock-Based Compensation - Schedule of Share-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Share-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - Stock-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - Stock-Based Compensation - Schedule of Stock Option Transactions Under Stock Option Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensationScheduleofStockOptionTransactionsUnderStockOptionPlansDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Stock Option Transactions Under Stock Option Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/CommitmentsandContingencies</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - Related-Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/RelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related-Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - Related-Party Transactions - Schedule of Fees Incurred and Revenue Earned from Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails</Role>
      <ShortName>Related-Party Transactions - Schedule of Fees Incurred and Revenue Earned from Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/IncomeTaxes</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954511 - Disclosure - Earnings Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Earnings Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - Earnings Per Share - Schedule of Earnings Per Share Computations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShareScheduleofEarningsPerShareComputationsDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Earnings Per Share Computations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954513 - Disclosure - Earnings Per Share - Schedule of Shares Included in the Diluted Earnings Per Share Computations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Shares Included in the Diluted Earnings Per Share Computations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954514 - Disclosure - Variable Interest Entities (VIEs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/VariableInterestEntitiesVIEsDetails</Role>
      <ShortName>Variable Interest Entities (VIEs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/VariableInterestEntitiesVIEsTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - Leases - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesAdditionalinformationDetails</Role>
      <ShortName>Leases - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954516 - Disclosure - Leases - Schedule of Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesScheduleofComponentsofLeaseExpenseDetails</Role>
      <ShortName>Leases - Schedule of Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954517 - Disclosure - Leases - Schedule of Other Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesScheduleofOtherInformationRelatedtoLeasesDetails</Role>
      <ShortName>Leases - Schedule of Other Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954518 - Disclosure - Leases - Schedule of Future Minimum Payments Under Non-cancelable Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesScheduleofFutureMinimumPaymentsUnderNoncancelableLeasesDetails</Role>
      <ShortName>Leases - Schedule of Future Minimum Payments Under Non-cancelable Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954519 - Disclosure - Segments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/SegmentsNarrativeDetails</Role>
      <ShortName>Segments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9954520 - Disclosure - Segments - Schedule of Information about our Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/SegmentsScheduleofInformationaboutourSegmentsDetails</Role>
      <ShortName>Segments - Schedule of Information about our Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9954521 - Disclosure - Fair Value Measurements of Financial Instruments - Schedule of Carrying Amounts and Fair Values of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements of Financial Instruments - Schedule of Carrying Amounts and Fair Values of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9954522 - Disclosure - Fair Value Measurements of Financial Instruments - Schedule of Change in Fair Value of Level 3 Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsScheduleofChangeinFairValueofLevel3LiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements of Financial Instruments - Schedule of Change in Fair Value of Level 3 Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9954523 - Disclosure - Fair Value Measurements of Financial Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements of Financial Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9954524 - Disclosure - Fair Value Measurements of Financial Instruments - Schedule of Gain (Loss) on Equity Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsScheduleofGainLossonEquitySecuritiesDetails</Role>
      <ShortName>Fair Value Measurements of Financial Instruments - Schedule of Gain (Loss) on Equity Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="ameh-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9954525 - Disclosure - Subsequent Events - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/SubsequentEventsAdditionalInformationDetails</Role>
      <ShortName>Subsequent Events - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="ameh-20230930.htm">ameh-20230930.htm</File>
    <File>ameh-20230930.xsd</File>
    <File>ameh-20230930_cal.xml</File>
    <File>ameh-20230930_def.xml</File>
    <File>ameh-20230930_lab.xml</File>
    <File>ameh-20230930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ameh-20230930_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1527">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
