# Data

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

## Choose a task

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

```{toctree}
:hidden:
:maxdepth: 1

Upload local files to a knowledge base <../upload-local-file>
Upload local files before creating a knowledge base <../upload-local-file-before-creation>
List data <../list-data-sources>
Preview data to add <../preview-data-sources>
Preview data before creating a knowledge base <../preview-initial-data-sources>
Check whether data has been added <../check-data-sources-exist>
Add data <../add-data-sources>
Backfill data records for a knowledge base <../backfill-legacy-data-sources>
Update data settings <../update-data-source-governance>
Delete data <../delete-data-source>
```
