List knowledge bases
List your knowledge bases, newest-first, each with its document and text-entry source counts.
GET
https://api.centerfy.ai/webhooks/inbound/knowledge-bases Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | authenticates the request; or Authorization: Bearer <key>. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/knowledge-bases" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.knowledgeBases.list();
console.log(result); centerfy knowledgeBases list MCP tool: centerfy_knowledge_bases_list (see MCP server)
Response
{
"status": "success",
"knowledge_base_count": 1,
"knowledge_bases": [
{
"id": "66666666-7777-8888-9999-000000000000",
"name": "Product FAQ",
"description": "Frequently asked questions about our product",
"chunk_size": 1000,
"chunk_overlap": 200,
"embedding_model": null,
"is_enabled": true,
"document_count": 3,
"text_entry_count": 2,
"source_count": 5,
"vector_count": 142,
"created_at": "2026-06-12T10:00:00.000Z",
"updated_at": "2026-06-12T10:05:00.000Z"
}
]
}Errors
200— on success.
Notes
Results are ordered by creation date, descending.