Skip to content

SessionListResult

session/list result. Ordering is updatedAt descending.

  • appliedFilter
  • nextCursor
  • sessions
Source

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

{
"description": "`session/list` result. Ordering is `updatedAt` descending.",
"properties": {
"appliedFilter": {
"$ref": "#/$defs/SessionListFilter",
"description": "The canonical filter the server applied, present exactly when the\nrequest carried `filter`. The probe is\nper-predicate PRESENCE (ADR 42035 D6): a client that requires\nfiltering checks that every predicate it sent comes back as a member\nhere, and treats a missing member as unsupported. Value equality is\nthe wrong test — canonicalization trims, lowercases, NFC-normalizes,\ndedupes and sorts, so the echoed values often differ from the sent\nones on a correctly filtered page."
},
"nextCursor": {
"description": "The next page's cursor; `null` on the last page.",
"type": [
"string",
"null"
]
},
"sessions": {
"description": "The page of stored sessions.",
"items": {
"$ref": "#/$defs/Session"
},
"type": "array"
}
},
"required": [
"nextCursor",
"sessions"
],
"type": "object"
}