Skip to navigation

Save a memory (hosted MemoryStore.remember)

Hosted fulfillment of the runtime MemoryStore seam. Persists one memory into the authenticated caller’s tenant-scoped profile bucket. The body profileId is treated as an owner-relative shard key and re-namespaced server-side from the authenticated identity. Requires an Enterprise plan: ineligible accounts receive 403 (code BYOC_PLAN_REQUIRED).

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
memoryobjectRequired
profileIdstringRequired1-256 characters

Response

The stored memory (dates as ISO-8601 strings)

contentstring
createdAtstring
idstring
sessionIdstring or null
summarystring
typeenum
Allowed values:
updatedAtstring

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error