Skip to main content
GET
/
v1
/
path-parts
/
{path_part_id}
/
ancestry
Get Path Part Ancestry Handler
curl --request GET \
  --url http://localhost:8000/v1/path-parts/{path_part_id}/ancestry
{
  "ancestors": [
    {
      "path_part_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "part_type": "FOLDER",
      "parent_path_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata_obj_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "materialized_path": "<string>",
      "system_managed": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

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.

Headers

authorization
string | null

Path Parameters

path_part_id
string<uuid>
required

Cookies

ks_uat
string | null

Response

Successful Response

Response containing the ancestry chain from root to target (inclusive).

ancestors
PathPartAncestorItem · object[]
required

Ancestors ordered root-to-leaf