Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the knowledge base
Body
The display name for the datasource visible in the UI. If omitted, the display name is derived from the uploaded file. When both display_name and file_id are provided, the provided display_name is prioritized.
The unique identifier of the file used for datasource creation. If provided, the file is immediately queued for chunking.
Configuration options specifying how the datasource file is chunked. Required if file_id is specified. Defaults to standard chunking options if omitted.
Response
Datasource successfully created
The display name of the datasource. Normally the name of the uploaded file
pending, processing, completed, failed, queued The date and time the datasource was created
The date and time the datasource was updated
The unique identifier of the knowledge base
The number of chunks in the datasource
The unique identifier of the data source
The description of the knowledge base
The unique identifier of the file used to create the datasource.
The user ID of the creator of the knowledge base
The user ID of the last user who updated the knowledge base