memory

Save or update a memory by name

Reusing an existing name overwrites it instead of creating a duplicate.

post/memory

Request

  • Base URL: https://aistoryhub.co/api/v1
  • URL: https://aistoryhub.co/api/v1/memory
  • Auth: HTTP bearer

Request body

type'preference' | 'feedback' | 'context' | 'reference' required
namestring required

Short slug identifying this memory. Reusing an existing name overwrites it.

descriptionstring required

One-line summary shown in every future briefing.

contentstring required
scope'story' | 'account'
story_idstring uuid

Required when scope is "story".

Response

The saved memory.

namestring
type'preference' | 'feedback' | 'context' | 'reference'
descriptionstring
contentstring
scope'story' | 'account'
story_idstring uuid nullable
updated_atstring date-time nullable

Changes

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