Knowledge Base

Create Knowledge Base Collection

Create Collection

Requires the OWNER or ADMIN role. Creates an empty document collection. Add documents to it with the manual-document endpoint, then attach it to a folder or agent with the map endpoint so something actually uses it.

post/knowledge-bases

Request

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

Request body

namestring required

Up to 200 characters. Required.

descriptionstring

Up to 1000 characters. Optional.

Response

Created

status'success'

Changes

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