---
title: "List Content Sources"
method: GET
path: "/knowledge/{knowledge_id}/sources"
tags: ["Knowledge"]
---

# List Content Sources

`GET /knowledge/{knowledge_id}/sources`

List all registered content sources (S3, GCS, SharePoint, GitHub) for the knowledge base.

## Path parameters

- `knowledge_id` string, required — ID of the knowledge base

## Query parameters

- `db_id` string, nullable — The ID of the database to use

## Response `200`

Content sources retrieved successfully

- RemoteContentSourceSchema[]
  - `id` string, required — Unique identifier for the content source
  - `name` string, required — Display name for the content source
  - `type` string, required — Type of content source (s3, gcs, sharepoint, github, azureblob)
  - `metadata` object, nullable — Custom metadata for the content source
  - `prefix` string, nullable — Default path prefix for this source

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Knowledge base not found
- `422` — Validation Error
- `500` — Internal Server Error

---

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