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

# List knowledge sources

`GET /knowledge/sources`

## Request

- Base URL: `https://platform-api.visitoai.com/m2m/v1`
- URL: `https://platform-api.visitoai.com/m2m/v1/knowledge/sources`
- Auth: HTTP bearer

Discover text/file/URL source IDs and their active state, chunks, scope, property, timestamps and assets. Default status=all; filter query searches title/URL metadata. Follow nextCursor retaining filters. assetsOnly=true discovers shareable uploads; new asset-only uploads have no KB chunks. Use list_knowledge_items/list_knowledge_websites for managed website groups; get_knowledge_source for indexed text, search_knowledge for semantic lookup, and get_knowledge_original_file for the uploaded original. Required permission: knowledge:read.

## Query parameters

- `limit` integer
- `cursor` string
- `status` string
- `sourceType` string
- `query` string

## Response `200`

Success

- KnowledgeSources
  - `sources` KnowledgeSource[]
    - `sourceId` string, required
    - `sourceType` 'text' | 'file' | 'url', required
    - `title` string
    - `active` boolean, required
    - `updatedAt` string, date-time
    - `text` string
    - `url` string
    - `chunkCount` integer, required
    - `activeTokens` integer
    - `scope` 'global' | 'property'
    - `propertyId` string
    - `propertyName` string
    - `preview` string
    - `originalFile` object
      - `filename` string
      - `contentType` string
      - `size` integer
      - `uploadedAt` string
    - `asset` KnowledgeAsset
      - `sourceId` string, required
      - `title` string, required
      - `description` string
      - `mediaType` 'image' | 'document'
      - `contentType` string, required
      - `filename` string, required
      - `sizeBytes` integer, required
      - `active` boolean, required
      - `validationStatus` 'unsupported' | 'pending' | 'ready' | 'blocked' | 'failed', required
      - `validationFindings` string[], required
      - `propertyId` string
      - `propertyName` string
      - `folderId` string
    - `createdAt` string
    - `createdBy` object
      - `id` string
      - `displayName` string
      - `email` string
    - `websiteId` string
    - `websiteGenerationId` string
    - `canonicalUrl` string
    - `websiteGenerationState` 'staging' | 'current' | 'superseded'
  - `nextCursor` string

## Other responses

- `default`: Structured error

---

[API](https://skmtc.dev/visitoai/apis/visito-m2m-api.md) - [All operations](https://skmtc.dev/visitoai/apis/visito-m2m-api/llms.txt) - [OpenAPI document](https://skmtc.dev/visitoai/apis/visito-m2m-api/revisions/98377d35c234?raw)
