Public APIs
All of ZyndraIAs APIs use a Bearer token based authentictation. Your account token can be found at Settings > Account Settings.
Last updated
All of ZyndraIAs APIs use a Bearer token based authentictation. Your account token can be found at Settings > Account Settings.
Last updated
POST
/api/v1/ai/knowledge-base/<knowledge_base_id>/upload/sources
Using this API, you can add a data source to an existing knowledge base.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
The API accepts files and text as multipart form data for upload. Each form field should be a unique key and contain either a file or text content.
Response
200400Copy
GET
/api/v1/ai/status/sources
Using this API, you can fetch the status of one or more data sources in a knowledge base to know it its training is - in progress / completed / failed.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
| query params | Comma-separated list of data source IDs to be passed as query params. |
Response
200 400