Memory files

Read one memory file

Returns the file verbatim, or 404. The path travels in the body rather than the URL because it carries slashes, and with the row fence keyed on (path, userId) an encoding ambiguity would be an access-control question.

Required scope: brain:read.

post/v1/memory-files/read

Request

  • Base URL: https://brain.inite.ai
  • URL: https://brain.inite.ai/v1/memory-files/read
  • Auth: HTTP bearer

Request body

pathstring required

Absolute path under /memories, e.g. /memories/user_prefs.md

userIdstring

Response

The file.

contentstring required
pathstring required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.