Update a memory store

⚠️
Preview — this feature is being built; the design below is the spec.
PATCH https://app.syntic.ai/v1/memory_stores/{store_id}

Change a store’s settings. A lower max_memories_per_scope trims the oldest memories in each scope; a new default_ttl_days applies to memories written afterwards.

For how this fits into a full workflow, see Memory stores.

Headers

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.
Content-TypeYesapplication/json

Path parameters

ParameterTypeDescription
store_idstringThe memory store id, starting with mem_.

Body parameters

ParameterTypeRequiredNotes
namestringNoUnique in the workspace.
descriptionstringNoShown in the Console.
agent_writestringNonone, scoped (default) or scoped_and_global.
max_memories_per_scopeintegerNo1 to 10,000, default 500. The oldest memories are dropped beyond it.
default_ttl_daysinteger or nullNoExpiry for new memories; null never expires.

Response

200 OK, Content-Type: application/json

{
  "id": "mem_01JC1A3C5E7G9J1L3N5Q",
  "type": "memory_store",
  "name": "support-customers",
  "description": "What the support agents know about each customer.",
  "agent_write": "none",
  "max_memories_per_scope": 500,
  "default_ttl_days": 365,
  "memory_count": 18342,
  "created_at": "2026-11-02T12:00:00Z"
}

Examples

curl -sS -X PATCH https://app.syntic.ai/v1/memory_stores/mem_01JC1A3C5E7G9J1L3N5Q \
  -H "Authorization: Bearer $SYNTIC_API_KEY" \
  -H "syntic-beta: agents-2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{
      "agent_write": "none"
    }'

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_errormemory_store_not_foundNo store with that id in this workspace.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?