cURL
Page through chunks in a Knowledge Base. Specify the Knowledge Base ID via
indexId in the request body. Chunks are returned as graph nodes — nodes is the chunk array and total is the total chunk count.
doc_id filters chunks by document. Required for document-search and audio/video-search KBs; not needed for data-query or image-QA KBs.Authorizations
string
header
required
DashScope API Key, obtained from the API Key page in the console.
Body
application/jsonstring
required
Knowledge Base ID (same as the data.id field returned by createIndex).
integer
Page number, starting at 1. Defaults to 1.
integer
Chunks per page. Defaults to 20, max 100.
string
Filter by document ID — only return chunks under this document.