Sessions & Agents
Memory Operations
Get Policy
Changed onReturn the agent's expiry policy (Session-based).
An agent with no policy set returns an empty one, which expires nothing.
Requires:
- X-Session-Token: {session_token}
get/api/v2/agents/{agent_id}/policy
Request
- The document declares no server URL.
- Authnone declared
Path parameters
agent_idstring required
Headers
x-session-tokenstring nullable
authorizationstring nullable
X-Api-Keystring nullable
Cookies
memanto_session_tokenstring nullable
Response
Successful Response
unknown required
Changes
- info
added the new optional
headerrequest parameterauthorization
- info
- info
endpoint added
- info