Memories

Write a memory

Writes a plaintext memory. The content is encrypted server-side with a key derived from your API key. Fee: 0.001 AIC. Maximum 19936 bytes of UTF-8 text (a single on-chain transaction); larger writes are rejected with 413 and no charge. The event_hash is computed when the memory is synced to the chain (~30 s later), not at write time — see the note on evidence in Project Brain.

post/v1/memory

Request

  • Base URL: https://api.chainmemory.ai
  • URL: https://api.chainmemory.ai/v1/memory
  • Auth: API key in header x-api-key

Request body

summarystring required

The memory text

categorystring

Free-form, e.g. DECISION, INTERACTION, CUSTOM

importanceinteger

1-10, default 5

platformstring

claude, chatgpt, gemini...

projectstring

Project slug; stored as the first tag

tagsstring[]

Up to 10 tags

Response

Memory written

Changes

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