Python
from unstructured import UnstructuredClient client = UnstructuredClient( username="My Username", password="My Password", ) response = client.task_status.get_status( job_id="job_id", ) print(response.percent_complete)
{ "percent_complete": 123, "status": "in_progress" }
Get the status of a task by job ID.
job_id
str
{ "percent_complete": float, "tags_created": Optional[int], "status": str }
{ "job_id": "abc123-def456-ghi789" }
Successful Response
in_progress
completed
aborted
failed