Knowledge Bases
Update Knowledge Base Item
Updates a knowledge base item’s name and/or description.
PUT
/
v1
/
knowledge
/
{knowledge_base_id}
curl -X PUT https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: Bearer YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"name": "Updated Company FAQs"
}'
{
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and company policies for 2025"
}
{
"name": "Company FAQs",
"description": null
}
{
"data": {
"id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T",
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and company policies for 2025",
"status": "COMPLETED",
"type": "FILE",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T15:45:00Z",
"file": {
"file_name": "company_faqs.pdf",
"file_size": 2048576,
"file_type": "application/pdf"
}
},
"errors": null
}
Updates the metadata (name and description) of an existing knowledge base item. This endpoint does not modify the content of the knowledge base item, only its descriptive information.
Docs for agents: llms.txt
Headers
Path Parameters
Body Parameters
Response
The updated knowledge base item object.
curl -X PUT https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: Bearer YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"name": "Updated Company FAQs"
}'
{
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and company policies for 2025"
}
{
"name": "Company FAQs",
"description": null
}
{
"data": {
"id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T",
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and company policies for 2025",
"status": "COMPLETED",
"type": "FILE",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T15:45:00Z",
"file": {
"file_name": "company_faqs.pdf",
"file_size": 2048576,
"file_type": "application/pdf"
}
},
"errors": null
}
Docs for agents: llms.txt
Was this page helpful?
⌘I
curl -X PUT https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: Bearer YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"name": "Updated Company FAQs"
}'
{
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and company policies for 2025"
}
{
"name": "Company FAQs",
"description": null
}
{
"data": {
"id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T",
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and company policies for 2025",
"status": "COMPLETED",
"type": "FILE",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T15:45:00Z",
"file": {
"file_name": "company_faqs.pdf",
"file_size": 2048576,
"file_type": "application/pdf"
}
},
"errors": null
}