API ReferenceDelete documentDELETE /api/v1/knowledge-bases/:knowledgeBaseId/documents/:documentId — remove one document.Removes the document and its chunks from the search index. DELETE /api/v1/knowledge-bases/{knowledgeBaseId}/documents/{documentId} Response 204 No Content Errors StatuserrorWhen403forbiddenYour key is scoped to a different project.404not_foundNo such Knowledge Base, or no such document in it.List documentsGET /api/v1/knowledge-bases/:knowledgeBaseId/documents — documents and their ingestion status.Submit URLsPOST /api/v1/knowledge-bases/:knowledgeBaseId/urls — crawl web pages into a Knowledge Base.