Skip to content
Developer Preview

ItemCompletedParams

item/completed params: the item reached its terminal state — the authoritative final object. Always cites a durable sourceRange. Clients MUST accept item/completed for an itemId they never saw item/started for.

  • item
  • sessionId
  • sourceRange
  • viewCursor
Source

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

{
"description": "`item/completed` params: the item reached its terminal state\n— the authoritative final object. Always cites a durable `sourceRange`. Clients MUST accept `item/completed` for an `itemId` they\nnever saw `item/started` for.",
"properties": {
"item": {
"$ref": "#/$defs/Item",
"description": "The full item at its terminal revision."
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from."
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"item",
"sessionId",
"sourceRange",
"viewCursor"
],
"type": "object"
}