Skip to main content
GET
https://app.autocalls.ai/api/
/
user
/
knowledgebases
Get knowledgebases
curl --request GET \
  --url https://app.autocalls.ai/api/user/knowledgebases \
  --header 'Authorization: Bearer <token>'
{
  "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"
    }
  ]
}
This endpoint returns a list of all knowledgebases associated with your account. Knowledgebases are used to store documents that provide context and information to your AI assistants.

Response

data
array
Array of knowledgebase objects
{
  "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"
    }
  ]
}

Knowledgebase Statuses

StatusDescription
emptyKnowledgebase has no documents
processingOne or more documents are being processed
activeAll documents are processed and ready
failedOne or more documents failed to process