cURL
curl --request POST \ --url https://api.upon-ai.com/api/knowledge-bases/{knowledgeBaseId}/sources \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": 123, "sources": [ { "type": "text", "text": "<string>", "url": "<string>", "filename": "<string>", "contentType": "<string>", "base64": "<string>" } ] } '
{ "knowledgeBaseId": "<string>", "name": "<string>", "status": "<string>", "description": "<string>", "sources": [ { "source_id": "<string>", "source_type": "<string>", "filename": "<string>" } ], "workspaceId": 123 }
Append new source material to an existing knowledge base.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Knowledge base identifier.
Show child attributes
Knowledge base with updated source list.