Skip to content
Developer Preview

ItemStartedParams

item/started params: a new item opened on the transcript. sourceRange is absent when the item opens on an ephemeral record (the delta-streamed kinds); the item’s authoritative open is re-stated by its durable-sourced item/completed.

  • item
  • sessionId
  • sourceRange
  • viewCursor
Source

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

{
"description": "`item/started` params: a new item opened on the transcript.\n`sourceRange` is absent when the item opens on an ephemeral record (the\ndelta-streamed kinds); the item's authoritative open is re-stated by its\ndurable-sourced `item/completed`.",
"properties": {
"item": {
"$ref": "#/$defs/Item",
"description": "The full item at revision 1."
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from; absent on an\nephemeral-sourced open."
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"item",
"sessionId",
"viewCursor"
],
"type": "object"
}