{
  "cik": 1577526,
  "cik_padded": "0001577526",
  "entityName": "C3.ai, Inc.",
  "fiscal_years": [
    {
      "accn": "0001577526-26-000078",
      "filed": "2026-06-24",
      "fiscal_year": 2026,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 1908000.0,
        "cash": 66197000.0,
        "cost_of_revenue": 172886000.0,
        "eps_diluted": -3.35,
        "free_cash_flow": -192136000.0,
        "gross_profit": 77382000.0,
        "net_income": -470369000.0,
        "operating_cash_flow": -190228000.0,
        "operating_income": -498498000.0,
        "revenue": 250268000.0,
        "stockholders_equity": 653751000.0,
        "total_assets": 816273000.0,
        "total_liabilities": 162522000.0
      },
      "period_end": "2026-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.3091965413077181,
        "leverage": 0.24859923732430236,
        "revenue_growth_yoy": -0.3567301365356144,
        "roa_avg2y": -0.510672554698166,
        "roa_period_end": -0.576239811925667,
        "roe_avg2y": -0.6304986280657402,
        "roe_period_end": -0.7194925896862873
      }
    },
    {
      "accn": "0001577526-26-000078",
      "filed": "2026-06-24",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 3039000.0,
        "cash": 164358000.0,
        "cost_of_revenue": 153193000.0,
        "eps_diluted": -2.24,
        "free_cash_flow": -44446000.0,
        "gross_profit": 235863000.0,
        "net_income": -288702000.0,
        "operating_cash_flow": -41407000.0,
        "operating_income": -324424000.0,
        "revenue": 389056000.0,
        "stockholders_equity": 838303000.0,
        "total_assets": 1025882000.0,
        "total_liabilities": 187579000.0
      },
      "period_end": "2025-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6062443452870538,
        "leverage": 0.22376038258243142,
        "net_margin": -0.7420576986346439,
        "operating_margin": -0.8338748149366673,
        "revenue_growth_yoy": 0.25266757249293265,
        "roa_avg2y": -0.279735498208184,
        "roa_period_end": -0.2814183307631872,
        "roe_avg2y": -0.33733647415134815,
        "roe_period_end": -0.3443886041204671
      }
    },
    {
      "accn": "0001628280-25-032604",
      "filed": "2026-06-24",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 25256000.0,
        "cash": 167146000.0,
        "cost_of_revenue": 132022000.0,
        "eps_diluted": -2.34,
        "free_cash_flow": -87618000.0,
        "gross_profit": 178560000.0,
        "net_income": -279696000.0,
        "operating_cash_flow": -62362000.0,
        "operating_income": -318342000.0,
        "revenue": 310582000.0,
        "stockholders_equity": 873353000.0,
        "total_assets": 1038225000.0,
        "total_liabilities": 164872000.0
      },
      "period_end": "2024-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.5749206328763419,
        "leverage": 0.18878048166090916,
        "net_margin": -0.9005544429490441,
        "operating_margin": -1.0249853500846797,
        "revenue_growth_yoy": 0.16412226615941078,
        "roa_avg2y": -0.26124516813286425,
        "roa_period_end": -0.2693982518240266,
        "roe_avg2y": -0.31025314223152517,
        "roe_period_end": -0.32025538356197325
      }
    },
    {
      "accn": "0001628280-25-032604",
      "filed": "2026-06-24",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 70518000.0,
        "cash": 284829000.0,
        "cost_of_revenue": 86337000.0,
        "eps_diluted": -2.45,
        "free_cash_flow": -186209000.0,
        "gross_profit": 180458000.0,
        "net_income": -268839000.0,
        "operating_cash_flow": -115691000.0,
        "operating_income": -290493000.0,
        "revenue": 266795000.0,
        "stockholders_equity": 929665000.0,
        "total_assets": 1103028000.0,
        "total_liabilities": 173363000.0
      },
      "period_end": "2023-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6763919863565659,
        "leverage": 0.18647900050018018,
        "net_margin": -1.007661312993122,
        "operating_margin": -1.0888247530875765,
        "revenue_growth_yoy": 0.05553115813878042,
        "roa_avg2y": -0.23645526867817987,
        "roa_period_end": -0.2437281737181649,
        "roe_avg2y": -0.28016582410264584,
        "roe_period_end": -0.2891783599468626
      }
    },
    {
      "accn": "0001628280-25-032604",
      "filed": "2025-06-23",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 3791000.0,
        "cash": 339528000.0,
        "cost_of_revenue": 63713000.0,
        "eps_diluted": -1.84,
        "free_cash_flow": -90253000.0,
        "gross_profit": 189046000.0,
        "net_income": -192065000.0,
        "operating_cash_flow": -86462000.0,
        "operating_income": -196122000.0,
        "revenue": 252759000.0,
        "stockholders_equity": 989477000.0,
        "total_assets": 1170882000.0,
        "total_liabilities": 181405000.0
      },
      "period_end": "2022-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.7479298462171475,
        "leverage": 0.1833342260608382,
        "net_margin": -0.7598740302026832,
        "operating_margin": -0.7759248928821526,
        "revenue_growth_yoy": 0.37956084861120964,
        "roa_avg2y": -0.1622609836530919,
        "roa_period_end": -0.16403446290915738,
        "roe_avg2y": -0.18732091061769623,
        "roe_period_end": -0.19410759421391297
      }
    },
    {
      "accn": "0001628280-24-028786",
      "filed": "2024-06-18",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 1628000.0,
        "cash": 115355000.0,
        "cost_of_revenue": 44519000.0,
        "free_cash_flow": -39181000.0,
        "gross_profit": 138698000.0,
        "net_income": -55696000.0,
        "operating_cash_flow": -37553000.0,
        "operating_income": -60258000.0,
        "revenue": 183217000.0,
        "stockholders_equity": 1061175000.0,
        "total_assets": 1196477000.0,
        "total_liabilities": 135302000.0
      },
      "period_end": "2021-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.757014905822058,
        "leverage": 0.12750206139420925,
        "net_margin": -0.30398925863866344,
        "operating_margin": -0.3288886948263535,
        "revenue_growth_yoy": 0.16947518925612448,
        "roa_avg2y": -0.07418294668633477,
        "roa_period_end": -0.04654999636432627,
        "roe_avg2y": -0.12680112649377673,
        "roe_period_end": -0.052485216858670816
      }
    },
    {
      "accn": "0001628280-23-022983",
      "filed": "2023-06-22",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 2298000.0,
        "cash": 33104000.0,
        "cost_of_revenue": 38787000.0,
        "free_cash_flow": -63579000.0,
        "gross_profit": 117879000.0,
        "net_income": -69378000.0,
        "operating_cash_flow": -61281000.0,
        "operating_income": -71497000.0,
        "revenue": 156666000.0,
        "stockholders_equity": -182697000.0,
        "total_assets": 305108000.0,
        "total_liabilities": 93798000.0
      },
      "period_end": "2020-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio"
      },
      "ratios": {
        "gross_margin": 0.7524223507334074,
        "net_margin": -0.4428401822986481,
        "operating_margin": -0.45636577176924153,
        "revenue_growth_yoy": 0.7102341575241526,
        "roa_period_end": -0.22738833462249436,
        "roe_avg2y": 0.39857409997960536
      }
    },
    {
      "accn": "0001628280-22-017829",
      "filed": "2022-06-23",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD"
      },
      "fundamentals": {
        "capex": 6811000.0,
        "cash": 98607000.0,
        "cost_of_revenue": 30386000.0,
        "free_cash_flow": -41687000.0,
        "gross_profit": 61219000.0,
        "net_income": -33346000.0,
        "operating_cash_flow": -34876000.0,
        "operating_income": -36042000.0,
        "revenue": 91605000.0,
        "stockholders_equity": -165434000.0
      },
      "period_end": "2019-04-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roe_avg2y": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6682932154358386,
        "net_margin": -0.3640194312537525,
        "operating_margin": -0.3934501391845423,
        "roe_avg2y": 0.21847319041878505
      }
    },
    {
      "accn": "0001628280-21-012990",
      "filed": "2021-06-25",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "stockholders_equity": "USD"
      },
      "fundamentals": {
        "stockholders_equity": -139830000.0
      },
      "period_end": "2018-04-30",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001577526-26-000078",
    "filed": "2026-06-24",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "7372",
  "sic_description": "Services-Prepackaged Software",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001577526.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001577526.json"
  },
  "ticker": "AI"
}
