Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Poll file upload or delete jobs using the Python client
job_type
file_ingest
file_delete
client.files.job_status(namespace_name: str, job_id: str) -> dict[str, Any]
GET /namespaces/{namespace_name}/file-jobs/{job_id}
from moorcheh import MoorchehClient with MoorchehClient("http://localhost:8080") as client: job = client.files.job_status("my-documents", job_id) if job["job_type"] == "file_ingest": print(job["chunks_processed"], "/", job["chunks_total"]) elif job["job_type"] == "file_delete": print("deleted", job["items_deleted"])
Was this page helpful?