compaction_id and an in_progress status. Use get_compaction_status to poll for completion, then get_compacted to retrieve the resulting summary.
If a previous compacted summary already exists, it is returned on the trigger response as previous_context so you have something usable while the new compaction runs.
Parameters
The conversation to compact. Must be a valid UUID registered via
record_message.Override the compaction strategy. One of:
"aggressive": maximum compression, shortest output"balanced": middle-ground compression"conservative": preserve more detail"adaptive": let Synap pick based on conversation shape
Returns
ACompactionTriggerResponse describing the in-flight job.
Example
Raises
AuthenticationError: when the API key is missing or invalid.NetworkError: when the SDK cannot reach Synap.