XML 57 R46.htm IDEA: XBRL DOCUMENT v3.20.4
Commitment and Contingencies (Details) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended
Feb. 29, 2020
Nov. 30, 2019
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2021
Jan. 31, 2020
Apr. 30, 2020
Long-term Purchase Commitment [Line Items]              
Purchase commitment, incurred cost     $ 3,500,000 $ 2,000,000.0 $ 9,600,000 $ 2,000,000.0  
C3.ai DTI Grants Program              
Long-term Purchase Commitment [Line Items]              
Grants, payment period 5 years            
Grants, potential remaining contributions     $ 44,600,000   $ 44,600,000   $ 45,800,000
Blattman et al. v. Siebel et al. | Pending Litigation              
Long-term Purchase Commitment [Line Items]              
Loss contingency, damages sought $ 2,500,000            
Web-Hosting Services, November 2019-November 2022              
Long-term Purchase Commitment [Line Items]              
Purchase commitment   $ 30,000,000.0          
Purchase commitment, term   3 years          
Web-Hosting Services, November 2020              
Long-term Purchase Commitment [Line Items]              
Purchase commitment   $ 10,000,000.0          
Web-Hosting Services, November 2021              
Long-term Purchase Commitment [Line Items]              
Purchase commitment   10,000,000.0          
Web-Hosting Services, November 2022              
Long-term Purchase Commitment [Line Items]              
Purchase commitment   $ 10,000,000.0