Skip to main content
Modify knowledge base settings including name, description, status, progress, datasources, and configuration.
kb_id
string
required
The knowledge base ID

Request Body

name
string
Updated knowledge base name
status
string
Updated status: pending, running, completed, failed
progress
integer
Updated progress percentage (0-100)
datasources
array
Array of datasource IDs to include in this knowledge base
ingested_datasources
array
Array of datasource IDs that have been successfully ingested
failed_datasources
array
Array of datasource IDs that failed ingestion
chunking_strategy
object
Updated chunking strategy configuration
llm_config
object
Updated LLM configuration
embedding_config
object
Updated embedding configuration
processing_metadata
object
Updated processing metadata
Most commonly updated fields are name and description. Other fields are typically managed by the system during ingestion.
curl -X PATCH https://api-be.atthene.com/api/v1/knowledge-bases/kb_123/ \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Product Knowledge Base"
  }'

Response

Returns the updated knowledge base object with new updated_at timestamp.