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

# List accessible knowledge bases

`GET /api-platform/knowledge-bases`

## Request

- Base URL: `https://api.textcortex.com/v1`
- URL: `https://api.textcortex.com/v1/api-platform/knowledge-bases`
- Auth: HTTP bearer

List knowledge bases visible to the current API key.

Uses the current API key's permissions. Check `GET /capabilities` for availability. Create a knowledge base in the TextCortex app first; this public API does not expose KB creation. Use the returned id as kb_id. Pagination starts at page=0. Increase page while pagination.has_more is true; do not infer completion from an estimated total.

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

Successful response

- KnowledgeBaseList
  - `data` KnowledgeBase[], required
    - `created_at` string, date-time, nullable
    - `description` string
    - `id` string, required
    - `is_owner` boolean
    - `name` string, required
    - `object` 'knowledge_base', required
    - `owner_id` string, nullable
    - `updated_at` string, date-time, nullable
    - `usability` string, nullable
    - `visibility` string, nullable
  - `object` 'list', required
  - `pagination` Pagination, required
    - `has_more` boolean, required
    - `limit` integer, required
    - `offset` integer, required
    - `page` integer, required: Zero-based page index.
    - `total` integer, required
    - `total_is_exact` boolean: File lists may return an estimated total; use has_more for pagination.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `403`: Access denied
- `404`: Resource not found
- `422`: Request validation failed
- `500`: Server error

## Changes

- **2026-10-08** `254204fd17bd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/textcortex/apis/textcortex-api/changes/api-platform/knowledge-bases/get.md)

---

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