Skip to content
Navigation

Read a file of a skill in a mind

One file of a skill this mind carries, for anyone who may read the mind.

The read path for someone who does not own the skill: a grantee gets the file list from consult and the bytes here. The skill must be one the mind carries, so naming any other key is a 404 however readable that skill is elsewhere.

GET
https://truememory-api.mvstg.com/minds/{mind_id}/skills/{skill_key}/files/{file_path}
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Path parameters

  • mind_idstringrequired
    format: uuid
  • skill_keystringrequired
  • file_pathstringrequired

Header parameters

  • X-App-Idoptional

    One of the following:

    • string
    • null
  • X-On-Behalf-Ofoptional

    One of the following:

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

    One of the following:

    • string
    • null

Returns

200

The file's bytes.

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

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

Type to search…

↑↓ navigate↵ selectEsc close