Knowledge Base

Get the knowledge-base tree

Changed on

Return the knowledge base as a nested tree of folders and pages.

get/v1/default/banks/{bank_id}/knowledge-base/tree

Request

Path parameters

bank_idstring required

Query parameters

tagsstring[] nullable

Only return pages carrying these tags (matched per tags_match, like recall).

tags_match'any' | 'all' | 'any_strict' | 'all_strict' | 'exact'

How tags match a page's tags: any, all, any_strict, all_strict, exact. 'any'/'all' also return untagged pages; the _strict modes and 'exact' do not.

tag_groupsstring nullable

JSON-encoded compound tag filter, same shape as recall's tag_groups, e.g. [{"or":[{"tags":["user:kate"],"match":"all_strict"},{"tags":["team"]}]}]. Top-level groups are AND-ed, and AND-ed with tags.

Headers

authorizationstring nullable

Response

Successful Response

Changes