Get lineage graph for a chunk.
Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
curl --request GET \
--url http://localhost:8000/v1/chunk-lineages/{chunk_id}{
"nodes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"chunk_type": "TEXT",
"chunk_metadata": {
"polygons": [
{
"page": 123,
"polygon": {
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
}
],
"s3_urls": [
"<string>"
],
"summary": "<string>",
"extracted_text_s3_uri": "<string>",
"secondary_taxonomy": "picture",
"sheet_name": "<string>",
"block_type": "<string>",
"source_uri": "<string>",
"enriched_html": "<string>",
"cell_range": "<string>",
"dependency_summary": {},
"formulas": [
{}
],
"key_cells": [
{}
],
"named_ranges": [
{}
]
},
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"edges": [
{
"parent_chunk_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chunk_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.
1 <= x <= 10curl --request GET \
--url http://localhost:8000/v1/chunk-lineages/{chunk_id}{
"nodes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"chunk_type": "TEXT",
"chunk_metadata": {
"polygons": [
{
"page": 123,
"polygon": {
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
}
],
"s3_urls": [
"<string>"
],
"summary": "<string>",
"extracted_text_s3_uri": "<string>",
"secondary_taxonomy": "picture",
"sheet_name": "<string>",
"block_type": "<string>",
"source_uri": "<string>",
"enriched_html": "<string>",
"cell_range": "<string>",
"dependency_summary": {},
"formulas": [
{}
],
"key_cells": [
{}
],
"named_ranges": [
{}
]
},
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"edges": [
{
"parent_chunk_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chunk_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}