cURL
curl --request POST \ --url https://api.getello.ai/api/knowledge-base \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "urlName": "Ello.ai", "baseUrl": "https://getello.ai", "subLinks": "dsfsdfdsf", "type": "link" } '
{ "status": 200, "message": "Single source knowledge base created successfully", "data": { "_id": "690108a004ea5e76d18034ab", "workspaceId": "685d4b93fb5b2e221dc80ea9", "userId": "685d4b93fb5b2e221dc80ea8", "name": "srikanth test", "description": "Single source knowledge base: srikanth test", "type": "link", "sources": [ { "_id": "690108a004ea5e76d18034ad", "type": "link", "fileType": null, "name": "srikanth test", "content": null, "url": [ "http://yesgnome.com" ], "filePath": null, "status": "completed", "error": null, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "metadata": { "fileName": null, "fileType": null, "fileKey": null, "websiteName": "srikanth test", "description": "" } } ], "status": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Creates a knowledge base using a URL, base URL, and sub-links.
"Ello.ai"
"https://getello.ai"
"dsfsdfdsf"
"link"
Single source knowledge base created successfully
200
"Single source knowledge base created successfully"
Show child attributes