Knowledge Base
Get the knowledge-base tree
Changed onReturn the knowledge base as a nested tree of folders and pages.
get/v1/default/banks/{bank_id}/knowledge-base/tree
Request
- Base URLhttps://hindsight.vectorize.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
- info
added the optional property
////to the response with the status
- info
- info
endpoint added
- info