API v1
Knowledge
Knowledge CRUD

Create Knowledge Base

Creates a knowledge base

post/v1/knowledge

Request

  • Base URL
    https://api.xpander.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header x-api-key

Request body

namestring required

KB name specified by the user

descriptionstring nullable

KB description specified by the user

project_idstring nullable

The project to create the KB in; unset means the Default project. Ignored on update.

Response

Successful Response

idstring required

KB unique identifier

namestring required

KB name specified by the user

descriptionstring nullable

KB description specified by the user

type'managed' | 'external' required
organization_idstring required

Organization ID

agent_idstring nullable

Agent ID

project_idstring nullable

The project the item belongs to; unset means the org's Default project on create.

total_documentsinteger

Total count of embedded documents

Changes

No recorded changes to this operation across all 5 revisions of this API.