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
Namespace the upload job belongs to. Must match the namespace used when the job was started.
Job id returned from an upload call.
Example
Returns
Id of the upload job.
Namespace items are being uploaded to.
Job state:
"running" or "completed".Total number of documents or vectors in the upload batch.
Number of items processed so far (embedded or validated).
Number of items successfully persisted.
Number of items that failed during processing. Check
last_error for the most recent failure reason.Most recent per-item error message during processing;
null if none.ISO 8601 UTC timestamp when the job started.
ISO 8601 UTC timestamp of the last job update.
ISO 8601 UTC timestamp when the job finished;
null while status is "running".Error description when the job cannot be found.
Example return value (completed)
Error Handling
Non-2xx responses raiseMoorchehApiError.
| Status | Cause |
|---|---|
| 404 | Upload job not found, or job id does not belong to this namespace |