Knowledge Bases Client
TheKnowledgeBasesClient manages knowledge bases — collections of documents, sources, and configurations that agents query for context-aware responses.
- Python
- TypeScript
Create
Display name
Unique URL-friendly identifier
Human-readable description
- Python
- TypeScript
Documents
Upload text document
- Python
- TypeScript
Library documents
- Python
- TypeScript
Retrieval
Query the knowledge base for relevant context:- Python
- TypeScript
Provisional answer
Generate an answer using the KB as context:- Python
- TypeScript
Source groups
Organize sources into logical groups.List source groups
List source groups
- Python
- TypeScript
Create source group
Create source group
- Python
- TypeScript
Update source group
Update source group
- Python
- TypeScript
Sources
Sources are the raw data feeds ingested into a knowledge base.List sources
List sources
- Python
- TypeScript
Create source
Create source
- Python
- TypeScript
Update source
Update source
- Python
- TypeScript
Reprocess source
Reprocess source
- Python
- TypeScript
Link credential
Link credential
- Python
- TypeScript
Ingestion policies
Control how sources are ingested and processed.List ingestion policies
List ingestion policies
- Python
- TypeScript
Create ingestion policy
Create ingestion policy
- Python
- TypeScript
Update ingestion policy
Update ingestion policy
- Python
- TypeScript
Governance policy
- Python
- TypeScript
Profiles
List profiles
List profiles
- Python
- TypeScript
Create profile
Create profile
- Python
- TypeScript
Update profile
Update profile
- Python
- TypeScript
Jobs
Monitor and manage ingestion jobs.List jobs
List jobs
- Python
- TypeScript
Get job
Get job
- Python
- TypeScript
Cancel job
Cancel job
- Python
- TypeScript
Agent attachment
- Python
- TypeScript
Example
- Python
- TypeScript

