Edits an existing knowledge base by adding or removing files, URLs, and FAQs. Rate limit: 20 requests per hour per workspace. File size limit: 2 MB per file, 5 MB total.
new_files: Upload additional documentsnew_urls: Index new web pagesnew_faqs: Add more question-answer pairsfiles_to_remove: JSON array of file IDsurls_to_remove: JSON array of URLsfaqs_to_remove: JSON array of FAQ IDsitems_removed: Count of items successfully removednew_files_queued: Count of new files being processednew_files: Array of newly added files with their IDs and processing status(Required) Your Revenueable AI API key.
"7251cb4b-3373-43a4-844c-b27a1d45e0c9"
(Required) ID of the knowledge base to edit
"550e8400-e29b-41d4-a716-446655440000"
(Optional) JSON string array of file IDs to remove
"[\"7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d\", \"8b9c0d1e-2f3a-4b5c-6d7e-8f9a0b1c2d3e\"]"
(Optional) JSON string array of URLs to remove
"[\"https://example.com/old-page\"]"
(Optional) JSON string array of FAQ IDs to remove
"[\"9c0d1e2f-3a4b-5c6d-7e8f-9a0b1c2d3e4f\", \"0d1e2f3a-4b5c-6d7e-8f9a-0b1c2d3e4f5a\"]"
(Optional) Array of new files to upload
(Optional) JSON string array of new URLs to add
"[\"https://example.com/new-docs\"]"
(Optional) JSON string array of new FAQ objects
"[{\"question\": \"Do you ship internationally?\", \"answer\": \"Yes, worldwide shipping available\"}]"
(Optional) JSON string object with metadata for new files
"{}"