---
title: "List knowledge bases"
method: GET
path: "/knowledge-bases"
tags: ["Knowledge Base"]
---

# List knowledge bases

`GET /knowledge-bases`

## Request

- Base URL: `https://api.markcopy.ai/api/v1`
- URL: `https://api.markcopy.ai/api/v1/knowledge-bases`
- Auth: API key in header `X-API-Key`

Returns all knowledge bases accessible with this API key.

## Response `200`

List of knowledge bases.

- object
  - `items` object[]
    - `id` string: External ID of the knowledge base (prefixed with `kb_`).
    - `name` string: Name of the knowledge base.
    - `workspace` string: Name of the workspace.

---

[API](https://skmtc.dev/markcopy/apis/mark-api.md) - [All operations](https://skmtc.dev/markcopy/apis/mark-api/llms.txt) - [OpenAPI document](https://skmtc.dev/markcopy/apis/mark-api/revisions/93323d1697ae?raw)
