POST
/
api
/
v1
/
knowledgebase

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
name
string
requireddeprecated

The name of the knowledge base

type
string
required

The type of the knowledge base

agentIds
string[]
required

The list of agent IDs of the knowledge base that needs to be given access to this knowledgebase

title
string
required

The title of the knowledge base

text
string
required

The textual content of the knowledge base

description
string
required

The description of the knowledge base

urls
string[]
required

The list of website URLs of the knowledge base, please see: (knowledgebase/extract-urls) for getting these urls

refreshFrequency
string
required

The refresh frequency of the knowledge base

Response

200 - application/json
name
string
requireddeprecated

The name of the knowledge base

type
string
required

The type of the knowledge base

url
string
requireddeprecated

The URL of the knowledge base

urls
string[]
required

The list of website URLs of the knowledge base

agents
string[]
required

The list of agent IDs of the knowledge base

title
string
required

The title of the knowledge base

status
string
required

The status of the knowledge base

description
string
required

The description of the knowledge base

text
string
required

The text of the knowledge base

isEveryone
boolean
required

Is the knowledge base accessible to everyone

refreshFrequency
string
required

The refresh frequency of the knowledge base

workspace
string
required

The UUID of the workspace