> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# copilot_data_source table

> Stores data sources for each copilot

## copilot\_data\_source Table (474)

Stores data sources for each copilot

## Fields

| Name                        | Description                           | Type                                                            | Nullable |
| --------------------------- | ------------------------------------- | --------------------------------------------------------------- | :------: |
| copilot\_data\_source\_id   | Primary key                           | PK                                                              |    No    |
| copilot\_data\_source\_type | Type of copilot data source           | Enum [CopilotDataSourceType](./enums/copilotdatasourcetype.mdx) |    No    |
| name                        | Name of data source                   | String(4000)                                                    |    No    |
| description                 | Description of data source            | String(4000)                                                    |    Yes   |
| copilot\_id                 | The associated copilot                | FK [copilot](./copilot.mdx)                                     |    No    |
| registered                  | Registered when                       | UtcDateTime                                                     |    No    |
| registered\_associate\_id   | Registered by whom                    | FK [associate](./associate.mdx)                                 |    No    |
| updated                     | Last updated when                     | UtcDateTime                                                     |    No    |
| updated\_associate\_id      | Last updated by whom                  | FK [associate](./associate.mdx)                                 |    No    |
| updatedCount                | Number of updates made to this record | UShort                                                          |    No    |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/copilot_data_source.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=af47beafd075eab9c2b40e8333448d43" alt="copilot_data_source table relationship diagram" width="847" height="786" data-path="media/loc/en/database/tables/copilot_data_source.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Relationships

| Table                                                           | Description                                                        |
| --------------------------------------------------------------- | ------------------------------------------------------------------ |
| [associate](./associate)                                        | Employees, resources and other users - except for External persons |
| [copilot](./copilot)                                            | Contains all available copilots                                    |
| [copilot\_data\_source\_setting](./copilot-data-source-setting) | Stores specific configuration values for each data source          |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [copilot_data_source_setting table](/en/database/tables/copilot-data-source-setting.md)
- [Put Copilot Data Source Entity](/en/api/reference/restful/rest/copilotdatasource/put-copilot-data-source-entity.md)
- [Post Copilot Data Source Entity](/en/api/reference/restful/rest/copilotdatasource/post-copilot-data-source-entity.md)
- [Default Copilot Data Source Entity](/en/api/reference/restful/rest/copilotdatasource/default-copilot-data-source-entity.md)
- [Get Copilot Data Source Entity](/en/api/reference/restful/rest/copilotdatasource/get-copilot-data-source-entity.md)
- [Enum values for CopilotDataSourceType](/en/database/tables/enums/copilotdatasourcetype.md)
