Unstart a human review task assignment
Unstart a human review task assignment.
Resets an in_progress assignment back to pending status. This allows users to temporarily leave the review page and potentially return later to continue their review.
Only valid for assignments with status ‘in_progress’. Attempting to unstart an assignment with any other status will result in a 409 Conflict error.
Context:
- Only authenticated users can unstart their assignments
- Only affects assignments with status ‘in_progress’
- Resets assignment status back to ‘pending’ (opposite of /start)
- Task status remains unchanged
- Organization ID is automatically set from the current user’s context
Use Cases:
- User needs to temporarily leave the review page
- User wants to pause their review and continue later
- Browser/page navigation that should save progress but not complete
Related Endpoints:
- POST /human-review-tasks//start - Start working on a task
- POST /human-review-tasks//complete - Complete a task
- GET /human-review-tasks - List all assigned tasks
Authorizations
API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY
Example:
JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN
Example:
Path Parameters
Response
Human review task assignment unstarted successfully
Response model for human review task operations.
UUID of the flow execution this task is associated with.
"550e8400-e29b-41d4-a716-446655440000"
UUID of the organization this task belongs to.
"550e8400-e29b-41d4-a716-446655440000"
Index of the source task execution that created this review.
0
Name of the source task that created this review.
"process_document"
Status of the task. Valid values: 'pending', 'in_progress', 'completed'.
"pending"
Index of the target task execution.
0
Name of the target task being reviewed.
"receive_file"
Timestamp when the task was completed. Null for not completed tasks.
"2024-01-01T00:00:00Z"
UUID of the user who completed this task. Null for not completed tasks.
"550e8400-e29b-41d4-a716-446655440000"
Instructions for the human reviewer on how to complete this task.
"Please review the document and verify all dates are correct."
Review result: True for correct, False for incorrect, null for not yet finished.
true
JSON output of the completed review. Null for not yet completed tasks.
Additional metadata associated with the human review task.