Endpoint
GET /user/knowledgebases
Response
Array of knowledge base objects.
Show Knowledge base properties
Show Knowledge base properties
Knowledge base statuses
| Status | Description |
|---|---|
empty | No documents have been added yet. |
processing | One or more documents are being processed. |
active | All documents are processed and ready. |
failed | One or more documents failed to process. |
Example
curl -X GET "https://portal.intellixent.ai/api/user/knowledgebases" \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://portal.intellixent.ai/api/user/knowledgebases', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await response.json();
console.log(data.data); // Array of knowledge bases
200 Response
{
"data": [
{
"id": 1,
"name": "Product Documentation",
"description": "Technical documentation for our products",
"status": "active",
"status_label": "Active",
"documents_count": 5,
"assistants_count": 2,
"created_at": "2025-01-05T10:30:00.000000Z",
"updated_at": "2025-01-08T14:20:00.000000Z"
},
{
"id": 2,
"name": "FAQ Knowledge",
"description": "Frequently asked questions and answers",
"status": "processing",
"status_label": "Processing",
"documents_count": 1,
"assistants_count": 0,
"created_at": "2025-01-08T09:00:00.000000Z",
"updated_at": "2025-01-08T09:05:00.000000Z"
}
]
}