Skip to main content
POST
Create a Knowledge Base
Usage: Pass the vector_id into your agent’s tools to enable the agent to use the vector store.

Headers

string
required
Your API key for authentication.

Body

string
required
The name of the knowledge base. Make this a clear name that describes the contents of the store.
string
required
A description of the knowledge base. This can be a longer description of the contents of the store, or what terms to use to search for vectors in the store.This is visible to the AI, so making it descriptive can help the AI understand when to use it or not.
string
required
The full text document to be stored and vectorized.

Response

string
The unique identifier for the knowledge base.Will start with “KB-”.

Docs for agents: llms.txt