curl -X PUT https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \ -H "authorization: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{ "name": "Updated Company FAQs" }'
Copy
Ask AI
{ "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}
Knowledge Bases
Update Knowledge Base
Updates a knowledge base’s name and/or description.
PUT
/
v1
/
knowledge
/
{knowledge_base_id}
Copy
Ask AI
curl -X PUT https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \ -H "authorization: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{ "name": "Updated Company FAQs" }'
Copy
Ask AI
{ "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. This endpoint does not modify the content of the knowledge base, only its descriptive information.