Skip to main content
Nowledge MemNowledge Mem
API ReferenceAgentTriggerMemory compactionPlan

Plan Memory Compaction

GET
/agent/trigger/memory-compaction/plan

Preview the exact compaction candidate context without queueing work.

This endpoint does not ask the agent to decide, does not create EVOLVES edges, does not create crystals, and does not enqueue the compaction task. It exposes the same pre-computed candidate context the scheduled task would inject into the Knowledge Agent so evals can measure the real input surface.

Query Parameters

limit?Limit
Range1 <= value <= 100
Default30
space_id?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/agent/trigger/memory-compaction/plan"
{}