Data Sources
Create Data Source Batch
Creates multiple data sources in a single request
POST
Body
multipart/form-data
JSON string containing an array of data sources metadata.
Example:
[{"name":"Doc 1","type":"file","knowledge_engine_id":"kng_abc123xyz789"},{"name":"Doc 2","type":"file","knowledge_engine_id":"kng_abc123xyz789"}]
Array of files to upload
Response
202 - application/json
Unix timestamp when this entity was created
Unique identifier for the data source
ID of the knowledge engine this data source belongs to
Name of the data source
Custom attributes and fields
Current status of the data source
Available options:
processing
, processed
Type of the data source
Available options:
file
, ticket