Knowledge

List Knowledge Chunks

Changed on

Retrieve a paginated list of all processed content chunks from a specific knowledge source. Chunks are smaller segments of content that have been extracted and processed from the original knowledge source. Each chunk contains content text and associated metadata that can be used for semantic search and retrieval operations.

get/v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId}/Chunks

Request

  • Base URL
    https://knowledge.twilio.com
  • URL
    https://knowledge.twilio.com/v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId}/Chunks
  • Auth
    HTTP basic

Query parameters

pageSizeinteger

How many resources to return in each list page. The default is 50, and the maximum is 1000.

pageTokenstring

The page token. This is provided by the API.

Response

OK

Example response

{
  "chunks": [
    {
      "chunkIndex": 2,
      "documentTitle": "Authentication — Twilio Docs",
      "documentUrl": "https://docs.twilio.com/en/api/authentication",
      "documentNumber": 12
    }
  ],
  "meta": {
    "key": "knowledge",
    "pageSize": 50,
    "nextToken": "eyJlYXN0ZXIiOiJlZ2cifQ",
    "previousToken": ""
  }
}

Changes

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • breaking

      the response property's max was increased from 99999.00 to 999999.00 for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      the response's property default value 50 was removed for the status