Skip to content
Navigation

Add a knowledge pack to a brain

Add a pack you own to a brain. Returns the pack as it now sits in the brain.

POST
https://truememory-api.mvstg.com/brains/{brain_id}/knowledge-packs
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Path parameters

  • brain_idstringrequired
    format: uuid

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

  • pack_idstringrequired
    format: uuid

Returns

201

Successful Response

JSON
  • idstringrequired
  • user_idrequired

    One of the following:

    • string
    • null
  • app_idrequired

    One of the following:

    • string
    • null
  • skill_idrequired

    One of the following:

    • string
    • null
  • filenamestringrequired
  • content_typestringrequired
  • statuspendingorprocessingorreadyorerrorrequired
  • created_atstringrequired
    format: date-time
  • visibilityoptionalprivateorapporpublic
    default: "private"

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

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

Type to search…

↑↓ navigate↵ selectEsc close