Knowledge Base

Unmap Knowledge Base Collection

Detach a Collection

Requires the OWNER or ADMIN role. Removes one mapping row. ownerType and ownerId are sent as query parameters on this DELETE, not a request body.

delete/knowledge-bases/{kbId}/map

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/knowledge-bases/{kbId}/map
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

kbIdstring required

The collection's knowledgeBaseId.

Query parameters

ownerType'folder' | 'agent' required
ownerIdstring required

Response

OK

status'success'

Changes

No recorded changes to this operation across all 2 revisions of this API.