# Querying a Knowledge Base After you create a knowledge base for your AI project, you'll want to do some quick queries to ensure you have the expected data. ## Query Simulation This topic includes: * [List Columns Simulation Examples](/products/customer-data-platform/ai-agent-foundry/knowledgebase/querying-a-knowledge-base#list-columns-simulation-examples) * [Search Schema Simulation Examples](/products/customer-data-platform/ai-agent-foundry/knowledgebase/querying-a-knowledge-base#search-schema-simulation-examples) * [Query Data Directly Simulation Examples](/products/customer-data-platform/ai-agent-foundry/knowledgebase/querying-a-knowledge-base#query-data-directly-simulation-examples) You can check the setup of your Knowledge Bases by selecting the **Details** tab ![](/assets/knowledge-base-details.be1fce016409455ffc3f131bbd59a7d5cdd05aeb31b3e8d1818833d57d059bcf.91c26685.png) To simulate a Knowledge Base, select the **Test** tab. ![](/assets/knowledge-base-test-tab.cbf883cee5ed1d5ff9f75d29497aa9c51cf56ec31981646440cc40d470a8b8e2.91c26685.png) ### List Columns Simulation Examples List Columns Enter table names ![](/assets/knowledge-base-list-columns.3813686296fca15161765ff28c170a76565b4443c27ce62e0684653d44d9e220.91c26685.png) ### Search Schema Simulation Examples Enter keywords to search ![](/assets/knowledge-base-search-schema.14fb0c19c2af235561532a9f98b884d5183eaa218e363f73c08d63d1dfc69073.91c26685.png) ### Query Data Directly Simulation Examples Enter a SQL statement to run ![](/assets/knowledge-base-query-data.949ac83a5176da23e5f6815daeef12dd040cd9eb72880be49aeacded115dbbd0.91c26685.png) **Next Step** [Creating an Agent](/products/customer-data-platform/ai-agent-foundry/ai-agent/creating-an-agent)