openclaw_sessions_compaction_get
Retrieve a specific compaction snapshot from a session using its unique snapshot ID. Useful for inspecting historical data compaction records without modifying state.
Instructions
Fetch a specific compaction snapshot by id. Wraps sessions.compaction.get. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Compaction snapshot id (NOT the session id — get this from openclaw_sessions_compaction_list). | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. | |
| sessionId | No | Optional session id, helps disambiguate when the snapshot id is shared across sessions. |