Skip to main content
POST

Overview

Terminates the current session for the specified agent and returns a summary including the start/end time, total duration, and number of memories stored during the session. If the session was authenticated via the memanto_session_token cookie, this call also clears that cookie.

Authentication

string
required
Session token from Activate Agent. Must match agent_id.
string
Bearer <key> — this endpoint additionally requires the management credential (or a loopback client), on top of the session token above. See Management Endpoint Authentication.
string
Alternative to Authorization: Bearer — same credential.

Path Parameters

string
required
The unique identifier of the agent whose session should be ended.

Next Steps