Add sources to a knowledge base
knowledge bases
Add sources to a knowledge base
Add PDF files or text content as sources to an existing knowledge base.
POST
Add sources to a knowledge base
Documentation Index
Fetch the complete documentation index at: https://docs.callrounded.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The API Key created in Rounded Studio.
- You can create it by going to the "API Keys" settings of your profile.
- Need help? You can email us at team@callrounded.com or join our Discord community.
Path Parameters
Body
multipart/form-data
List of PDF files to upload as sources. Only PDF files are supported.
JSON string containing an array of text sources, each with 'title' and 'content' fields.
Response
Successfully added sources to knowledge base
The updated knowledge base data.
Response message indicating the result of the operation.
Example:
{
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
}HTTP status code of the response.