Knowledge Base
Delete Knowledge Base Document
Delete Document
Requires the OWNER or ADMIN role. Deletes the document and its embeddings. Looked up by documentId and your company alone -- the kbId in the path is not cross-checked against the document's own collection, so this succeeds even if docId actually belongs to a different one of your collections.
delete/knowledge-bases/{kbId}/documents/{docId}
Request
- Base URL: https://api.speakai.co/v1
- URL: https://api.speakai.co/v1/knowledge-bases/{kbId}/documents/{docId}
- Auth: API key in header x-speakai-key and API key in header x-access-token
Path parameters
kbIdstring required
The collection's knowledgeBaseId.
docIdstring required
The document's documentId.
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.