Agent
Record what a host-side compaction dropped (T846)
Called by the ContextQ Claude Code plugin's session.compact hook. Writes exactly one checkpoint holding the dropped messages plus one session.compact trace event, and fires the context-pressure dream. Writes nothing when DREAM_AUTO_TRIGGER_ENABLED=false or when nothing was dropped.
post/api/agent/sessions/{id}/compaction
Request
- Base URL: http://localhost:38200
- URL: http://localhost:38200/api/agent/sessions/{id}/compaction
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
idinteger required
Request body
Response
Nothing written: {written: false, reason}.
Changes
No recorded changes to this operation across all 1 revision of this API.