Skip to main content
POST
Ask the agent to compact its history before your next message. An idle session stays idle: this call does not start another reasoning turn. Compaction summarizes context; it does not delete the session’s event history or its persistent memory.

Path parameters

string
required
The session ID.

Response

202 Accepted, with no body. Compaction is asynchronous; follow session events for the reset_history flow event.

Errors

404 if the session is absent or inaccessible. See common errors.