GET/v1/knowledge-base/files/{id}/chunks

List chunks for a knowledge base file

Lists chunks for a knowledge base file, with an optional filter for embedding status. Supply the file's id and set embedded to true or false to filter the results.

2 parameters
idstringrequired
The identifier of the knowledge base file whose chunks to list.
embeddedstringoptional
Filter chunks by embedding status: `true` or `false`.
Allowed:truefalse

1 status code
200Returns the chunks for the specified knowledge base file, filtered by embedding status when `embedded` is supplied.

Error handling

The id path parameter identifies the knowledge base file whose chunks to list. If supplied, embedded must be true or false.