Skip to main content

ExportSessionDto

One row from the reading-session log. r2_progression is deliberately absent: nothing reads a session's historical locator, and it is the only non-scalar column on the row.

activeDurationMs(integer | null)<int64>nullable
clientEndedAtstring<date-time>required
clientStartedAtstring<date-time>required
deviceIdstringrequired
deviceNamestring | nullnullable
durationSourcestringrequired

"measured", "inferred", or "unknown".

Example: measured
idstring<uuid>required
kindstringrequired

"progress", "completed", or "reset".

Example: progress
pagesRead(integer | null)<int32>nullable
passinteger<int32>required
serverRecordedAtstring<date-time>required
toPage(integer | null)<int32>nullable
toPercentage(number | null)<double>nullable
ExportSessionDto
{
"activeDurationMs": 0,
"clientEndedAt": "2024-07-29T15:51:28.071Z",
"clientStartedAt": "2024-07-29T15:51:28.071Z",
"deviceId": "string",
"deviceName": "string",
"durationSource": "measured",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kind": "progress",
"pagesRead": 0,
"pass": 0,
"serverRecordedAt": "2024-07-29T15:51:28.071Z",
"toPage": 0,
"toPercentage": 0
}