---
title: "List Knowledge Bases"
method: GET
path: "/api/v1/knowledge"
tags: ["Knowledge Bases"]
---

# List Knowledge Bases

`GET /api/v1/knowledge`

List all knowledge bases in a workspace.

## Query parameters

- `workspaceId` string, required

## Response `200`

List of knowledge bases in the workspace.

- object
  - `success` boolean — Whether the request was successful.
  - `data` object — Response payload containing the list of knowledge bases.
    - `knowledgeBases` KnowledgeBase[] — Array of knowledge base objects in the workspace.
      - `id` string — Unique knowledge base identifier.
      - `name` string — Knowledge base name.
      - `description` string, nullable — Optional description.
      - `tokenCount` integer — Total token count across all documents.
      - `embeddingModel` string — Embedding model used (e.g. text-embedding-3-small).
      - `embeddingDimension` integer — Embedding vector dimension.
      - `chunkingConfig` ChunkingConfig — Configuration for how documents are split into chunks for embedding.
        - `maxSize` integer — Maximum chunk size in tokens.
        - `minSize` integer — Minimum chunk size in characters.
        - `overlap` integer — Overlap between chunks in tokens.
      - `docCount` integer — Number of documents in the knowledge base.
      - `connectorTypes` string[] — Types of connectors attached to this knowledge base.
      - `createdAt` string, date-time — ISO 8601 timestamp when the knowledge base was created.
      - `updatedAt` string, date-time — ISO 8601 timestamp when the knowledge base was last modified.
    - `totalCount` integer — Total number of knowledge bases.

## Other responses

- `400` — Invalid request parameters. Check the details array for specific validation errors.
- `401` — Invalid or missing API key. Ensure the X-API-Key header is set with a valid key.
- `403` — Access denied. You do not have permission to access this resource. For audit log endpoints, this requires an Enterprise subscription and organization admin/owner role.
- `429` — Rate limit exceeded. Wait for the duration specified in the Retry-After header before retrying. The X-RateLimit-* headers accompany every response from an authenticated v1 request — success and error alike — and are omitted only when the request fails authentication, since no rate-limit bucket is consulted in that case.

---

[API](https://skmtc.dev/simstudioai/apis/sim-api.md) · [All operations](https://skmtc.dev/simstudioai/apis/sim-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simstudioai/sim-api/revisions/66a471c5b1df/schema)
