Skip to main content

Overview

Polls an async upload started by moorcheh upload-documents or moorcheh upload-vectors. Prints job progress as JSON. Repeat until status is completed. Check successful and failed for per-item results.

Synopsis

Options

Examples

Output

Prints JSON from GET /namespaces/{namespace_name}/upload-jobs/{job_id}:
string
Upload job id.
string
Namespace being uploaded to.
string
"running" or "completed". On lookup errors: "failure".
number
Total items in the upload batch.
number
Items processed so far.
number
Items successfully persisted.
number
Items that failed during processing.
string | null
Most recent per-item error; null if none.
string
Job start time (ISO 8601 UTC).
string
Last update time (ISO 8601 UTC).
string | null
Job finish time; null while running.
string
Error description when the job cannot be found.
Example output (completed)

Exit codes