Knowledge Bases
Get Knowledge Base Item
Retrieves a specific knowledge base item by ID.
GET
/
v1
/
knowledge
/
{knowledge_base_id}
curl -X GET https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T",
"name": "Company FAQs",
"description": "Frequently asked questions and policies",
"status": "COMPLETED",
"type": "FILE",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:32:00Z",
"file": {
"file_name": "company_faqs.pdf",
"file_size": 2048576,
"file_type": "application/pdf"
}
},
"errors": null
}
{
"data": null,
"errors": [
{
"error": "KB_ERROR",
"message": "KB not found or access denied"
}
]
}
Returns detailed information about a specific knowledge base item, including its current status, metadata, and file information (if applicable).
Docs for agents: llms.txt
Headers
Path Parameters
Response
The knowledge base item object.
curl -X GET https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T",
"name": "Company FAQs",
"description": "Frequently asked questions and policies",
"status": "COMPLETED",
"type": "FILE",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:32:00Z",
"file": {
"file_name": "company_faqs.pdf",
"file_size": 2048576,
"file_type": "application/pdf"
}
},
"errors": null
}
{
"data": null,
"errors": [
{
"error": "KB_ERROR",
"message": "KB not found or access denied"
}
]
}
Docs for agents: llms.txt
Was this page helpful?
⌘I
curl -X GET https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T",
"name": "Company FAQs",
"description": "Frequently asked questions and policies",
"status": "COMPLETED",
"type": "FILE",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:32:00Z",
"file": {
"file_name": "company_faqs.pdf",
"file_size": 2048576,
"file_type": "application/pdf"
}
},
"errors": null
}
{
"data": null,
"errors": [
{
"error": "KB_ERROR",
"message": "KB not found or access denied"
}
]
}