Update an agent's memory settings
Changes subsequent memory jobs and session attachments. Disabling stops new digests and detaches the learned store from new sessions. Omitted fields remain unchanged. Send the latest settings ETag in If-Match; a stale editor receives 412.
Authorizations
A Recursion API key, created in the console under API keys.
Headers
Replay-protection key in an organization-wide namespace shared by keyed mutations. It must contain 1 to 256 visible ASCII characters and be sent as exactly one header value. Request identity is the exact HTTP method, escaped path, raw query, and raw body bytes. For the legacy automation-run route only, the historical fingerprint ignores top-level JSON formatting and object-key order and removes the retired top-level idempotency_key field. The same request replays the original successful response; any different request returns 409 idempotency_conflict, and an active matching request returns 409 idempotency_in_progress. Completed receipts are retained for approximately 24 hours, pending claims may be reclaimed after approximately 1 hour, and no deduplication is guaranteed after expiry.
1 - 256^[!-~]+$Strong ETag from the latest memory settings read. A stale validator returns 412.
^(?:W/)?"[\u0021\u0023-\u007E\u0080-\u00FF]*"$Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.
1Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.
1Path Parameters
Agent id (UUID) as returned by managedAgentsCreateAgent or managedAgentsListAgents.
Body
A partial update to one Recursion agent's memory policy. Omitted fields remain unchanged.
Minimum seconds between consolidations, from 3600 to 86400. Zero or null restores the platform default of 3600; omit to leave unchanged.
-9007199254740991 <= x <= 9007199254740991Opt this agent into or out of automatic memory. Null restores the deployment default; omit to leave unchanged.
Standing curator guidance, at most 4096 characters. Null clears it.
Maximum reports read per consolidation, from 1 to 50. Zero or null restores the platform default of 50; omit to leave unchanged.
-9007199254740991 <= x <= 9007199254740991Model override for all memory stages. Null restores the Luna default; omit to leave unchanged.
New useful reports that trigger an early consolidation, from 1 to 50; the first run and aged backlog can run below this threshold. Zero or null restores the platform default of 5; omit to leave unchanged.
-9007199254740991 <= x <= 9007199254740991Agent selected as curator. Null restores the platform curator.
Response
Model and guidance for automatic learning from a Recursion agent's finished sessions. An empty model selection uses the Luna default.
Model and guidance for automatic learning from a Recursion agent's finished sessions. An empty model selection uses the Luna default.
Minimum time between consolidation runs in seconds; 0 inherits the platform default of 3600.
-9007199254740991 <= x <= 9007199254740991Active minimum seconds between runs after applying inheritance.
-9007199254740991 <= x <= 9007199254740991Active report limit after applying inheritance.
-9007199254740991 <= x <= 9007199254740991Active early-consolidation threshold after applying inheritance.
-9007199254740991 <= x <= 9007199254740991Whether this agent learns from completed sessions and attaches its learned store to new sessions.
Whether this deployment permits changing the enabled setting.
Maximum reports one consolidation may read; 0 inherits the platform default of 50.
-9007199254740991 <= x <= 9007199254740991New useful reports that trigger an early consolidation; the first run and aged backlog can run below this threshold. 0 inherits the platform default of 5.
-9007199254740991 <= x <= 9007199254740991Standing guidance for every memory consolidation run. Capped at 4096 characters.
Model used for all memory learning stages. Empty uses the Luna default.
Agent selected to curate this agent's memory. Empty uses the platform curator.
Strong revision validator for the current settings representation. Send it in If-Match when changing settings.