---
title: "Get Knowledge Base Size Information."
method: GET
path: "/v1/voice-agents/knowledge-base/size-info"
---

# Get Knowledge Base Size Information.

`GET /v1/voice-agents/knowledge-base/size-info`

Retrieves the total size of all knowledge base items and the size limit based on the subscription plan.

## Response `200`

Successful response

- GetKbSizeInfoResponse
  - `success` boolean
  - `message` string
  - `data` object
    - `totalSize` number — Total size of all knowledge base items in bytes.
    - `sizeLimit` number — Maximum allowed size according to subscription plan in bytes.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server Side Error

---

[API](https://skmtc.net/tryhamsa/apis/hamsa-api.md) · [All operations](https://skmtc.net/tryhamsa/apis/hamsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryhamsa/hamsa-api/versions/ecbeb5d8dc13/schema)
