Add a knowledge base source — file, URL, or inline text (auto-creates the KB)
knowledge-bases
Add a knowledge base source — file, URL, or inline text (auto-creates the KB)
POST
Add a knowledge base source — file, URL, or inline text (auto-creates the KB)
Authorizations
Your API key sent as a Bearer credential — Authorization: Bearer <api_key>, where <api_key> starts with oi_sk_ (create one via POST /v1/api-keys). Although the field is labelled 'token', paste your API key here. A dashboard JWT is also accepted on this header for the same endpoints.
Body
multipart/form-data
Response
Successful Response