compact to poll for completion before calling get_compacted.
The SDK checks its in-process anticipation cache first. If a compaction_update bundle has been pushed for this conversation, the call returns status="completed" immediately without a network round-trip.
Parameters
The conversation to inspect. Must be a valid UUID registered via
record_message.Returns
ACompactionStatusResponse describing the current state.
Ratio of compacted-to-raw token count for the latest run. Lower values indicate more aggressive compression.
Quality score for the latest compaction (0.0-1.0). Reflects how well the compacted summary preserves the original conversation’s information.
Example
Raises
AuthenticationError: when the API key is missing or invalid.NetworkError: when the SDK cannot reach Synap.