Skip to main content

Recover one staged export file's durable offset

HEAD 

/api/v1/paperless-imports/:import_id/files/:ordinal

Requires migration.manage and exact household scope. Available only while the workflow is uploading; the returned offset and length describe durable staging state, while foreign or non-uploading files return 404.

Request​

Responses​

Upload-Offset and Upload-Length are authoritative

Response Headers
    Upload-Length

    Declared file length

    Upload-Metadata

    Base64-encoded relative export path

    Upload-Offset

    Current durable byte offset

    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.