Skip to content
Navigation

Create a brain

Create a brain — a named collection that groups knowledge packs so they can be attached to a conversation together.

POST
https://truememory-api.mvstg.com/brains
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Header parameters

  • X-On-Behalf-Ofoptional

    One of the following:

    • string
    • null
  • X-External-User-Idoptional

    One of the following:

    • string
    • null
  • X-App-Idoptional

    One of the following:

    • string
    • null

Request bodyJSONrequired

  • namestringrequired
  • descriptionoptional

    One of the following:

    • string
    • null
  • app_idoptional

    One of the following:

    • string
    • null
  • emojioptional

    One of the following:

    • string
    • null
  • usage_hintoptional

    One of the following:

    • string
    • null
  • visibilityoptionalprivateorapporpublic
    default: "private"
  • skill_idsoptionalarray ofstring
    format: uuid

Returns

201

Successful Response

JSON
  • idstringrequired
  • user_idrequired

    One of the following:

    • string
    • null
  • app_idrequired

    One of the following:

    • string
    • null
  • namestringrequired
  • descriptionrequired

    One of the following:

    • string
    • null
  • created_atstringrequired
    format: date-time
  • updated_atstringrequired
    format: date-time
  • skill_idsarray ofstringrequired

    Ids of skills, for clients that only need to seed a multi-select.

    Derived rather than stored so it cannot disagree with skills.

  • emojioptional

    One of the following:

    • string
    • null
  • usage_hintoptional

    One of the following:

    • string
    • null
  • visibilityoptionalprivateorapporpublic
    default: "private"
  • skillsoptionalarray ofobject
    • idstringrequired
    • keystringrequired
    • namestringrequired
  • document_countoptionalinteger
    default: 0

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

      • string
      • integer
    • msgstringrequired
    • typestringrequired
    • inputoptionalunknown
    • ctxoptionalobject

Type to search…

↑↓ navigate↵ selectEsc close