{"cik":1577526,"taxonomy":"us-gaap","tag":"CommonStockSharesOutstanding","label":"Common Stock, Shares, Outstanding","description":"Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.","entityName":"C3.ai, Inc.","units":{"shares":[{"end":"2021-01-31","val":3499992,"accn":"0001628280-21-003690","fy":2021,"fp":"Q3","form":"10-Q","filed":"2021-03-02","frame":"CY2020Q4I"},{"end":"2021-04-30","val":3499992,"accn":"0001628280-21-012990","fy":2021,"fp":"FY","form":"10-K","filed":"2021-06-25","frame":"CY2021Q1I"}]}}