POST
/
api
/
v1
/
knowledgebase

Authorizations

Authorization
string
header
required

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

Body

application/json
agentIds
string[]
required

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

description
string
required

The description of the knowledge base

name
string
requireddeprecated

The name of the knowledge base

refreshFrequency
string
required

The refresh frequency of the knowledge base

text
string
required

The textual content of the knowledge base

title
string
required

The title of the knowledge base

type
string
required

The type 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

Response

200 - application/json
agents
string[]
required

The list of agent IDs of the knowledge base

description
string
required

The description of the knowledge base

isEveryone
boolean
required

Is the knowledge base accessible to everyone

name
string
requireddeprecated

The name of the knowledge base

refreshFrequency
string
required

The refresh frequency of the knowledge base

status
string
required

The status of the knowledge base

text
string
required

The text of the knowledge base

title
string
required

The title 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

workspace
string
required

The UUID of the workspace