Agent Memory

Save changes to an Agent memory repo

Changed on

Stores the changes as the repo's next revision. When another save changed one of the files after baseRevision, nothing is saved and the response holds those files as they are now.

post/api/agent-memory/{repo}/revisions

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header x-sixb-csrf
    • HTTP bearer
    • HTTP bearer

Path parameters

repo'user' | 'project' required

user: the caller's own memory. project: the memory the whole project shares.

Request body

baseRevisioninteger required

The revision the changes were made against

messagestring required

What was learned, as the revision's entry in the history

Response

Response for status 201

repo'user' | 'project' required
revisioninteger required

Changes