Nodes

List a node's ancestor ids

get/api/v1/nodes/{nodeId}/ancestors

Request

  • Base URL: https://api-docs.busabase.com
  • URL: https://api-docs.busabase.com/api/v1/nodes/{nodeId}/ancestors
  • Auth: none declared

Path parameters

nodeIdstring required

Node id, or a slug that is unique within its type.

Query parameters

type'folder' | 'base' | 'skill' | 'drive' | 'airapp' | 'file' | 'doc' | 'form' | 'whiteboard' | 'workflow' | 'html'

Optional disambiguation hint, only needed when nodeId is a slug that exists under more than one node type.

Response

The node's ancestor ids, root-first, excluding the node itself ([] directly under the workspace root). nodeId accepts an id or a slug, same as nodes.get; pass type when a slug exists under more than one type. Lets a depth-bounded, lazily-expanded tree open straight to a deep node on a cold load (a refresh, a bookmark, a shared link) without one round trip per level.

ancestorIdsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.