Document AI — Import & Migration

Scan import source

Scans the import source and lists all found files. Returns count, sizes, and type breakdown.

post/import/import-scan

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/import/import-scan
  • Auth: HTTP bearer

Request body

job_idinteger required

ID of the import job for which the source is scanned.

Response

Success

status'success' | 'error'

Request status (ok/error)

messagestring

Status message

total_sizeinteger

Total size

processing_timestring

Request processing time (e.g. "123.45ms")

datastring

Data

job_idstring

Job id

total_files_foundstring

Total files found

total_size_bytesstring

Total size bytes

total_size_humanstring

Total size human

Changes

No recorded changes to this operation across all 1 revision of this API.