documents.upload_job_status
Returns status for an upload started by Upload Documents or Upload Vectors. Poll untilstatus is "completed".
GET /namespaces/{namespace_name}/upload-jobs/{job_id} — see Upload job status
Parameters
string
required
Namespace the upload job belongs to. Must match the namespace used when the job was started.
string
required
Job id returned from an upload call.
Example
Returns
string
Id of the upload job.
string
Namespace items are being uploaded to.
string
Job state:
"running" or "completed".number
Total number of documents or vectors in the upload batch.
number
Number of items processed so far (embedded or validated).
number
Number of items successfully persisted.
number
Number of items that failed during processing. Check
last_error for the most recent failure reason.string | null
Most recent per-item error message during processing;
null if none.string
ISO 8601 UTC timestamp when the job started.
string
ISO 8601 UTC timestamp of the last job update.
string | null
ISO 8601 UTC timestamp when the job finished;
null while status is "running".string
Error description when the job cannot be found.
Example return value (completed)
Error Handling
Non-2xx responses raiseMoorchehApiError.