Sessions & Agents
Memory Operations

Apply Policy Preset

Changed on

Adopt a predefined policy bundle as the agent's policy (Session-based).

Overwrites any existing policy. Nothing expires until a sweep runs.

Requires:

  • X-Session-Token: {session_token}
post/api/v2/agents/{agent_id}/policy/preset

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

agent_idstring required

Headers

x-session-tokenstring nullable
authorizationstring nullable
X-Api-Keystring nullable

Cookies

memanto_session_tokenstring nullable

Request body

namestring required

Preset name, e.g. 'balanced'

Response

Successful Response

unknown required

Changes