---
title: "List knowledge base sources"
method: GET
path: "/knowledge_base/{knowledge_base_id}/sources"
tags: [""]
---

# List knowledge base sources

`GET /knowledge_base/{knowledge_base_id}/sources`

Returns a paginated list of sources for the specified knowledge base.

## Path parameters

- `knowledge_base_id` string, required — Knowledge base ID.

## Query parameters

- `limit` integer
- `offset` integer
- `name` string

## Headers

- `Authorization` string, required

## Response `200`

200

- ListKnowledgeBaseSourcesResponse200
  - `status` string — Whether the request was successful.
  - `response` KnowledgeBaseKnowledgeBaseIdSourcesGetResponsesContentApplicationJsonSchemaResponse
    - `total_records` integer — Total number of sources in the knowledge base.
    - `knowledge_base_id` string — Knowledge base ID.
    - `sources` KnowledgeBaseKnowledgeBaseIdSourcesGetResponsesContentApplicationJsonSchemaResponseSourcesItems[] — List of knowledge base sources.
      - `id` string — Unique identifier of the source.
      - `type` 'pdf' | 'text' | 'web' — Source type: `text` for plain text, `web` for a scraped web page, or `pdf` for a PDF file.
      - `name` string — Display name of the source.
      - `content_preview` string — Short preview of the source text content. Empty string when not available.
      - `url` string — URL of the source. Populated for `web` and `pdf` types. Empty string for `text` sources.
      - `created_at` string, date-time — Timestamp when the source was created (ISO 8601).
      - `updated_at` string, date-time — Timestamp when the source was last updated (ISO 8601).

## Other responses

- `400` — 400

---

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