Programmatically Manage Knowledge Bases

In this section, we introduce the REST APIs for managing knowledge bases. This allows developers to efficiently interact with and update the knowledge base using automation and code.

Get Knowledge Base Data Source Config Details

Request:

curl -X GET https://etl.epsilla.com/api/v1/datasources/<project_id>/pipeline/<datasource_id> \
     -H "X-API-Key: <Project-API-Key>" 

The project_id and datasource_id are identifiers for your project and your knowledge base's data source. You can obtain the project ID and data source ID from the URL:

You can find how to get the Project API Key in Project Management.

Response:

Create a New S3 Knowledge Base (And Trigger Initial Loading)

Request

Response:

Update Knowledge Base Config

Request

Response:

Reprocess Data In Knowledge Base

Request

Response:

Check Knowledge Base Data Processing Progress

Request:

Response:

Delete Knowledge Base

Request:

Response:

Last updated