XML 12 R1.htm IDEA: XBRL DOCUMENT v3.25.0.1
Cover - shares
9 Months Ended
Jan. 31, 2025
Feb. 20, 2025
Document Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jan. 31, 2025  
Document Transition Report false  
Entity File Number 001-39744  
Entity Registrant Name C3.ai, Inc.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 26-3999357  
Entity Address, Address Line One 1400 Seaport Blvd  
Entity Address, City or Town Redwood City,  
Entity Address, State or Province CA  
Entity Address, Postal Zip Code 94063  
City Area Code 650  
Local Phone Number 503-2200  
Title of 12(b) Security Class A Common Stock, par value $0.001 per share  
Trading Symbol AI  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Current Fiscal Year End Date --04-30  
Amendment Flag false  
Entity Central Index Key 0001577526  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q3  
Class A Common Stock    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding (in shares)   129,238,730
Class B Common Stock    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding (in shares)   3,499,992