Get Data Source
This method allows you to retrieve the configuration of a data source identified by its ID.
Note that it is not possible to retrieve the configured credentials (if any) of the data source.
data_source_id
Successful Response
{
"id": "string",
"origin_url": "string",
"name": "string",
"description": "string",
"type": "string",
"object": "string",
"created_at": 0,
"last_updated_at": 0,
"num_linked_knowledge_bases": 0
}
id
URL of the source of data that can be accessed via this data source.
Name of the data source.
Description of the data source.
Type of the Data Source.
Object type, which is always data_source
.
Unix timestamp (in seconds) when the data source was created.
Unix timestamp (in seconds) when the data source was last updated.
Options used when interacting with the data source.
Number of linked knowledge bases.
Invalid data source ID.
Validation Error
"HTTPValidationError Object"
detail
curl -H 'Authorization: <value>' https://{api_host}/api/v1/control/data-sources/{data_source_id}