# Data

Upload, select, add, and manage data in a knowledge base.

## Choose a task

| Task | Description |
| --- | --- |
| [Upload a knowledge-base source file](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/upload-local-file.html.md) | Save a local source file; upload success does not mean the content is retrievable. |
| [Stage files for a new knowledge base](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/upload-local-file-before-creation.html.md) | Upload a file before creation, then bind its ID as a `local_file` source. |
| [Inspect added sources and their status](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/list-data-sources.html.md) | Paginated query of data sources and their processing status in the knowledge base. |
| [Preview sources before adding them](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/preview-data-sources.html.md) | Preview the number of deduplicated files and tables before selecting a source by database or volume. |
| [Preview sources before creation](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/preview-initial-data-sources.html.md) | Preview file and table counts without creating a knowledge base or processing tasks. |
| [Check for duplicate sources](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/check-data-sources-exist.html.md) | Checks whether the requested catalog file and table already exist in the knowledge base as a data source. |
| [Append knowledge-base sources](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/add-data-sources.html.md) | Append sources to a knowledge base; request success does not mean parsing or indexing is complete. |
| [Repair legacy source records](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/backfill-legacy-data-sources.html.md) | Repair legacy management records only when requested, without re-uploading or re-importing data. |
| [Change source governance settings](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/update-data-source-governance.html.md) | Change tags, expiration, or enabled state, subject to source-specific settings and prerequisites. |
| [Remove a knowledge-base source](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/resource-center/knowledge-bases/delete-data-source.html.md) | Removes a source from the knowledge base; the original Catalog table or file is not deleted. |
