v1
cURL
curl --request DELETE \ --url https://api.callrounded.com/v1/knowledge-bases/{knowledge_base_id}/sources \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "source_ids": [ "123e4567-e89b-12d3-a456-426614174000", "123e4567-e89b-12d3-a456-426614174001" ] }'
200
example
{ "message": "Sources deleted from knowledge base successfully", "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "organization_id": "123e4567-e89b-12d3-a456-426614174001", "name": "Product Documentation", "created_at": "2023-06-15T14:30:00Z", "status": "ready", "sources": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "type": "file", "created_at": "2023-06-15T14:30:00Z", "file_name": "document.pdf", "file_url": "https://storage.example.com/files/document.pdf" } ] }, "error": { "details": [ { "field": "email", "message": "Invalid email format" } ], "message": "An error occurred while processing your request", "status": 400, "type": "generic_error" }, "status": 200}
Delete sources from a knowledge base.
The API Key created in Rounded Studio.
Successfully deleted sources from knowledge base
The response is of type object.
object