Skip to content
Navigation

Upload a knowledge pack

Upload a PDF, Markdown or plain-text file to be indexed for retrieval.

The response returns immediately with the pack in a pending state — extraction and embedding run in the background, so poll the pack until its status settles before expecting it in retrieval results.

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

Authorization

  • HTTPBearerHTTPrequired

Query parameters

  • skill_idoptional

    One of the following:

    • string
    • null
  • app_idoptional

    One of the following:

    • string
    • null
  • visibilityoptionalprivateorpublic
    default: "private"

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 bodyFORM-DATArequired

  • filestringrequired

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