Knowledge Base

Create a knowledge-base page

Changed on

Create a page (a mental model + tree node). Content is generated asynchronously; use the returned operation_id to track completion.

post/v1/default/banks/{bank_id}/knowledge-base/pages

Request

Path parameters

bank_idstring required

Headers

authorizationstring nullable

Request body

namestring required
source_querystring required
parent_idstring nullable
tagsstring[] nullable

Tags that SCOPE which memories this page is built from — not labels. Every tag here, including a type:<x> tag used to set the page's rendered type, is part of the filter. By default a tagged page matches with all_strict: a memory must carry EVERY one of these tags, and untagged memories are excluded entirely. Tags invented for the page (a topic, a document type) therefore match nothing unless your memories were retained with those exact tags, and the page generates as 'I don't have information about this'. Omit this field to build the page from the whole bank, or set trigger.tags_match to 'all' to require the tags while still including untagged memories.

max_tokensinteger nullable

Response

Successful Response

page_idstring required
mental_model_idstring required
operation_idstring nullable

Changes

    • warning

      the / request property's max was set to 8192.00

    • warning

      the / request property's min was set to 256.00

    • info

      added the new optional request property //

    • info

      endpoint added