Creates a new data source and associates it with a knowledge engine
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The file to upload
JSON string containing data source metadata.
Example:
{
"name": "Annual Report 2023",
"type": "file",
"knowledge_engine_id": "kng_abc123xyz789"
}"{\"name\":\"Annual Report 2023\",\"type\":\"file\",\"notes\":{\"category\":\"financial\"},\"knowledge_engine_id\":\"kng_abc123xyz789\"}"
Data source created successfully
Unique identifier for the data source
"ds_abc123xyz789"
Name of the data source
"Annual Report 2023"
Type of the data source
file, ticket "file"
Current status of the data source
processing, processed "processed"
Custom attributes and fields
{ "category": "financial" }ID of the knowledge engine this data source belongs to
"kng_abc123xyz789"
Unix timestamp when this entity was created
1679644800