Create Knowledge Base

Create a new knowledge base.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Request

This endpoint expects an object.
namestringRequired

Human-readable label.

descriptionstringOptional
Optional description.

Response

The created knowledge base.
idstring

Prefixed wire identifier (kb_<26 char Crockford base32>).

namestring

Human-readable label, shown in the console.

descriptionstring
Optional description.
document_countinteger
Number of ingested documents.
created_atdatetime
updated_atdatetime

Errors

400
Bad Request Error
401
Unauthorized Error