Knowledge Bases
Create a new datasource
Creates a datasource shell when only a display name is provided. When file_id is provided, the uploaded file is queued for chunking and ingestion.
POST
Core - Create datasource
Related guide: Knowledge bases guide. See the Knowledge bases guide for a walkthrough with examples.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Datasource successfully created
Available options:
pending, processing, completed, failed, queued 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
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$The user ID of the last user who updated the knowledge base
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Additive compatibility fields formerly available only from database-shaped responses.