Memory

Create a memory document

Changed on

Create a curated project memory document at a path that holds no document. Fails with a conflict when the path already exists; never replaces a document. Embeds on success.

post/memory

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/memory
  • Auth: none declared

Request body

projectIdstring uuid

Project that owns the document. Auto-filled from CLI and SDK context when omitted.

pathstring required

Relative path for the curated document.

bodystring required

Document body stored in project memory.

kind'note' | 'runbook'

Curated document kind. Only note and runbook may be written through the API.

titlestring

Optional display title. Defaults to the path basename.

Response

OK

Changes