Skip to content

js-bao-wss-client


js-bao-wss-client / DocumentIngestChunkUploadResult

Interface: DocumentIngestChunkUploadResult ​

What the server answers a chunk upload with.

Not the session: a chunk lands against a reservation, and the reply is about that chunk alone — how many stored bytes were accepted, and where the chunk sits among the ones this session has stored. Poll DocumentIngestsAPI.get for the session.

Properties ​

bytes ​

bytes: number

The stored byte length the server measured and accepted.


ok ​

ok: boolean


ordinal ​

ordinal: number

The chunk's position among the session's stored chunks.

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30