---
title: "List KB Sources"
method: GET
path: "/knowledge-base/sources"
tags: ["Knowledge Base"]
---

# List KB Sources

`GET /knowledge-base/sources`

Returns all knowledge base sources for the organization. Content is excluded from list view — use the get endpoint for full content.

## Response `200`

List of KB sources

- ListKBSourcesResponse
  - `data` KBSource[] — List of KB sources
    - `type` string — Resource type
    - `id` string — Unique identifier of the KB source
    - `attributes` KBSourceAttributes
      - `title` string — Title of the KB source
      - `source_type` 'manual' | 'upload' — Type of source: manual (inline content) or upload (S3 file)
      - `content` string — Content of the source (present on get, absent on list)
      - `format` string — Content format (e.g. text/markdown, application/pdf, text/html, text/plain)
      - `status` 'pending' | 'uploading' | 'indexing' | 'indexed' | 'failed' — Processing status of the source
      - `file_size` integer — File size in bytes
      - `chunk_count` integer — Number of indexed chunks
      - `created_at` string, date-time — Creation timestamp
      - `updated_at` string, date-time — Last update timestamp

## Other responses

- `401` — Valid API key required
- `default` — Unexpected error

---

[API](https://skmtc.net/attention/apis/attention-service-v2.md) · [All operations](https://skmtc.net/attention/apis/attention-service-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/attention/attention-service-v2/revisions/5de55d3804cf/schema)
