Skip to content
Developer Preview

SessionResumeParams

session/resume params.

  • commandId
  • cursor
  • excludeItems
  • history
  • sessionId
Source

schema/msp/experimental/msp.schema.json#/types/SessionResumeParams

{
"description": "`session/resume` params.",
"properties": {
"commandId": {
"description": "The idempotency handle (UUIDv7). A resume that loads a session\nwrites a durable `SessionResumed` record.",
"type": "string"
},
"cursor": {
"description": "A view cursor previously observed by this client — or an observed\n`summarizedThrough` compaction anchor. When\npresent the server returns only the suffix and `history.mode` is\n`none`. Omitted and explicit `null` both mean \"no\ncursor\".",
"type": [
"string",
"null"
]
},
"excludeItems": {
"description": "Return only session metadata and live resume state; page history\nseparately with `view/page`. Default `false`.",
"type": "boolean"
},
"history": {
"$ref": "#/$defs/HistoryPreference",
"description": "History mode preference, default `auto`. A PREFERENCE, not a budget\noverride: when the requested mode does not fit the history budget the\nserver downgrades it and `history.mode` reports what was actually\nserved. Ignored when `cursor` or `excludeItems` makes it\nmoot."
},
"sessionId": {
"description": "The session to load.",
"type": "string"
}
},
"required": [
"commandId",
"sessionId"
],
"type": "object"
}