List Pipeline Document Chunks
GET/api/v1/pipelines/{pipeline_id}/documents/{document_id}/chunks
Return a list of chunks for a pipeline document.
Path Parameters
pipeline_id: string
document_id: string
Cookie Parameters
session: optional string
Returns
class_name: optional string
List Pipeline Document Chunks
curl https://api.cloud.llamaindex.ai/api/v1/pipelines/$PIPELINE_ID/documents/$DOCUMENT_ID/chunks \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"[
{
"class_name": "class_name",
"embedding": [
0
],
"end_char_idx": 0,
"excluded_embed_metadata_keys": [
"string"
],
"excluded_llm_metadata_keys": [
"string"
],
"extra_info": {
"foo": "bar"
},
"id_": "id_",
"metadata_seperator": "metadata_seperator",
"metadata_template": "metadata_template",
"mimetype": "mimetype",
"relationships": {
"foo": {
"node_id": "node_id",
"class_name": "class_name",
"hash": "hash",
"metadata": {
"foo": "bar"
},
"node_type": "1"
}
},
"start_char_idx": 0,
"text": "text",
"text_template": "text_template"
}
]Returns Examples
[
{
"class_name": "class_name",
"embedding": [
0
],
"end_char_idx": 0,
"excluded_embed_metadata_keys": [
"string"
],
"excluded_llm_metadata_keys": [
"string"
],
"extra_info": {
"foo": "bar"
},
"id_": "id_",
"metadata_seperator": "metadata_seperator",
"metadata_template": "metadata_template",
"mimetype": "mimetype",
"relationships": {
"foo": {
"node_id": "node_id",
"class_name": "class_name",
"hash": "hash",
"metadata": {
"foo": "bar"
},
"node_type": "1"
}
},
"start_char_idx": 0,
"text": "text",
"text_template": "text_template"
}
]