Check the upload status of a document task.
Use this endpoint to monitor the progress of a document upload after receiving a task ID from the upload endpoint. The status indicates whether the document is still being uploaded, has completed successfully, or has failed.
Args:
id: Task ID returned from the upload endpoint (path parameter)
Returns:
dict: Upload status information containing:
Raises:
404: If the task ID is not found or doesn’t belong to the userExample: Request:
Headers: {"Authorization": "Bearer <api_key>"}
Response:
{
"status": "COMPLETED",
"document_id": "doc-xyz789"
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns the upload status for a given unique ID received from upload document endpoint. This endpoint allows clients to check the progress of a document upload after initiating it via the upload endpoint.
The response is of type Response Get Upload Status · object.