Create a knowledge base

Creates a new knowledge base and returns its ID.

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

This endpoint expects an object.
namestringOptional
Name of the knowledge base.
rag_use_conditionstringOptional
When this knowledge base should be used.

Response

200
statusstring or null
Whether the request was successful.
responseobject or null

Errors