> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autocalls.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get knowledgebase

> Get a single knowledgebase by ID

This endpoint returns the details of a specific knowledgebase.

### Path Parameters

<ParamField path="id" type="integer" required>
  The unique identifier of the knowledgebase
</ParamField>

### Response

<ResponseField name="data" type="object">
  The knowledgebase object

  <Expandable title="knowledgebase properties">
    <ResponseField name="id" type="integer">
      The unique identifier of the knowledgebase
    </ResponseField>

    <ResponseField name="name" type="string">
      The name of the knowledgebase
    </ResponseField>

    <ResponseField name="description" type="string">
      Optional description of the knowledgebase
    </ResponseField>

    <ResponseField name="status" type="string">
      Current status: `empty`, `processing`, `active`, or `failed`
    </ResponseField>

    <ResponseField name="status_label" type="string">
      Human-readable status label
    </ResponseField>

    <ResponseField name="documents_count" type="integer">
      Number of documents in this knowledgebase
    </ResponseField>

    <ResponseField name="assistants_count" type="integer">
      Number of assistants using this knowledgebase
    </ResponseField>

    <ResponseField name="created_at" type="string">
      ISO 8601 timestamp of creation
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      ISO 8601 timestamp of last update
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 Response theme={null}
  {
    "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"
    }
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "error": "Knowledgebase not found."
  }
  ```
</ResponseExample>
