v2

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-07132063.9 KB
Knowledge

List Knowledge Sources

Retrieve a paginated list of all knowledge sources for a specific knowledge base. Knowledge sources represent unstructured data sources such as documents, websites, or text content that can be used for context and information retrieval.

get/v2/KnowledgeBases/{kbId}/Knowledge

Query parameters

pageinteger

The page index. This value is simply for client state.

pageSizeinteger

The maximum number of items to return per page, maximum of 1000.

pageTokenstring

The token for the page of results to retrieve.

Response

OK

Example response

{
  "knowledge": [
    {
      "id": "know_knowledge_00000000000000000000000000",
      "name": "Company FAQ Knowledge Base",
      "description": "Frequently asked questions and answers for customer support",
      "status": "COMPLETED",
      "source": {
        "type": "Web",
        "url": "https://example.com/faq",
        "crawlDepth": 2,
        "crawlPeriod": "NEVER"
      },
      "createdAt": "2026-01-15T10:30:00Z",
      "updatedAt": "2026-01-15T11:45:00Z"
    }
  ],
  "meta": {
    "pageSize": 50,
    "nextToken": "eyJlYXN0ZXIiOiJlZ2cifQ",
    "previousToken": "eyJlYXN0ZXIiOiJlZ2cifQ",
    "key": "knowledge"
  }
}
All 13 operations