<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>359</ContextCount>
  <ElementCount>440</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>153</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/Coverpage</Role>
      <ShortName>Cover page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ameh-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Business Combinations and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsandGoodwill</Role>
      <ShortName>Business Combinations and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ameh-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.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-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - 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>26</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - 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>27</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Business Combinations and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsandGoodwillTables</Role>
      <ShortName>Business Combinations and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/BusinessCombinationsandGoodwill</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - 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>29</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - 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>30</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - 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>31</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - 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>32</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - 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>33</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - 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>34</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - 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>35</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - 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>36</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - 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>37</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - 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>38</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - 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>39</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Description of Business - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/DescriptionofBusinessAdditionalInformationDetails</Role>
      <ShortName>Description of Business - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - 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>41</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Gain (Loss) on Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesGainLossonSecuritiesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Gain (Loss) on Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Disaggregation of Revenue by Each Payor Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesDisaggregationofRevenuebyEachPayorTypeDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Disaggregation of Revenue by Each Payor Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Contributions to Revenue and Receivables by Payor (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesContributionstoRevenueandReceivablesbyPayorDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Contributions to Revenue and Receivables by Payor (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Carrying Amounts and Fair Values of Company's Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesCarryingAmountsandFairValuesofCompanysFinancialInstrumentsDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Carrying Amounts and Fair Values of Company's Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Business Combinations and Goodwill - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsandGoodwillAdditionalInformationDetails</Role>
      <ShortName>Business Combinations and Goodwill - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Business Combinations and Goodwill - Summary of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/BusinessCombinationsandGoodwillSummaryofGoodwillDetails</Role>
      <ShortName>Business Combinations and Goodwill - Summary of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - 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>48</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - 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>49</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Intangible Assets, Net - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IntangibleAssetsNetFutureAmortizationExpenseDetails</Role>
      <ShortName>Intangible Assets, Net - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Investments in Other Entities - Equity Method Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/InvestmentsinOtherEntitiesEquityMethodInvestmentsDetails</Role>
      <ShortName>Investments in Other Entities - Equity Method Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - 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>52</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Investments in Other Entities - Summarized Balance Sheets and Statements of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/InvestmentsinOtherEntitiesSummarizedBalanceSheetsandStatementsofIncomeDetails</Role>
      <ShortName>Investments in Other Entities - Summarized Balance Sheets and Statements of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Loan Receivable and Loan Receivable ??? Related Parties - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedPartiesAdditionalInformationDetails</Role>
      <ShortName>Loan Receivable and Loan Receivable ??? Related Parties - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Accounts Payable and Accrued Expenses - Schedule of Accounts Payable and Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/AccountsPayableandAccruedExpensesScheduleofAccountsPayableandAccruedExpensesDetails</Role>
      <ShortName>Accounts Payable and Accrued Expenses - Schedule of Accounts Payable and Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Medical Liabilities - Schedule of Medical Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MedicalLiabilitiesScheduleofMedicalLiabilitiesDetails</Role>
      <ShortName>Medical Liabilities - Schedule of Medical Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Credit Facility, Bank Loans, and Lines of Credit - Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditCreditFacilityDetails</Role>
      <ShortName>Credit Facility, Bank Loans, and Lines of Credit - Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - 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>58</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - 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>59</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Mezzanine and Stockholders' Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/MezzanineandStockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Mezzanine and Stockholders' Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Stock-Based Compensation - Share-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensationShareBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Share-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - 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>62</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - Stock-Based Compensation - Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/StockBasedCompensationSummaryofStockOptionActivityDetails</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/CommitmentsandContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - 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>65</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - Related-Party Transactions - Fees Incurred and Income Received (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/RelatedPartyTransactionsFeesIncurredandIncomeReceivedDetails</Role>
      <ShortName>Related-Party Transactions - Fees Incurred and Income Received (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - 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>68</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Earnings Per Share - Earnings Per Share Computations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShareEarningsPerShareComputationsDetails</Role>
      <ShortName>Earnings Per Share - Earnings Per Share Computations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - Disclosure - Earnings Per Share - Shares Included in Diluted Earnings Per Share Computations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/EarningsPerShareSharesIncludedinDilutedEarningsPerShareComputationsDetails</Role>
      <ShortName>Earnings Per Share - Shares Included in Diluted Earnings Per Share Computations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - Variable Interest Entities (VIEs) - Eliminated Upon Consolidation Included In Accompanying Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/VariableInterestEntitiesVIEsEliminatedUponConsolidationIncludedInAccompanyingConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Variable Interest Entities (VIEs) - Eliminated Upon Consolidation Included In Accompanying Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.apollomed.net/role/VariableInterestEntitiesVIEsTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - 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>72</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - Leases - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesComponentsofLeaseExpenseDetails</Role>
      <ShortName>Leases - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Leases - Other Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesOtherInformationRelatedtoLeasesDetails</Role>
      <ShortName>Leases - Other Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Leases - Future Minimum Payments Under Non-cancelable Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.apollomed.net/role/LeasesFutureMinimumPaymentsUnderNoncancelableLeasesDetails</Role>
      <ShortName>Leases - Future Minimum Payments Under Non-cancelable Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - 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>76</Position>
    </Report>
    <Report instance="ameh-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - 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>77</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept AccountsReceivableRelatedPartiesCurrent in us-gaap/2022 used in 4 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept NotesReceivableRelatedPartiesCurrent in us-gaap/2022 used in 4 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept DueFromAffiliates in us-gaap/2022 used in 2 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept DueToRelatedPartiesCurrent in us-gaap/2022 used in 2 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept LondonInterbankOfferedRateLIBORMember in us-gaap/2022 used in 2 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RevenueFromRelatedParties in us-gaap/2022 used in 4 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty in us-gaap/2022 used in 4 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept DueFromAffiliateCurrent in us-gaap/2022 used in 2 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. ameh-20230331.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="ameh-20230331.htm">ameh-20230331.htm</File>
    <File>ameh-20230331.xsd</File>
    <File>ameh-20230331_cal.xml</File>
    <File>ameh-20230331_def.xml</File>
    <File>ameh-20230331_lab.xml</File>
    <File>ameh-20230331_pre.xml</File>
    <File>ex3112023033110-q.htm</File>
    <File>ex3122023033110-q.htm</File>
    <File>ex3132023033110-q.htm</File>
    <File>ex322023033110-q.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ameh-20230331_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1034">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
