POST
/
v4
/
knowledge-bases

Authorizations

x-api-key
string
headerrequired

Body

application/json
embedding_config
object
required

The configuration of the embedding

knowledge_base_name
string
required

A unique name for the knowledge base

account_id
string

Account to create knowledge base in. If you have access to more than one account, you must specify an account_id

metadata
object

Metadata associated with the knowledge base

Response

200 - application/json
knowledge_base_id
string
required

The unique ID of the created knowledge base