Handler for `POST /api/v1/tasks/{id}/resume`.
POST/api/v1/tasks/:id/resume
Validates that the task is in input_required status, persists the human
decision to SQLite, emits RuntimeEvent::TaskResumed on the EventBus,
and rebuilds the enriched AIPTask for the ORIA relaunch.
HTTP codes
200 OK, resume recorded successfully404 Not Found, task unknown to the HITL system409 Conflict, task known but not ininput_requiredstatus503 Service Unavailable, HITL not configured (task_repositoryabsent)500 Internal Server Error, SQLite or internal error
Request
Responses
- 200
- 404
- 409
- 422
- 503
Resume recorded
Task not found
Task not awaiting input
The answer does not fit the pending pause
HITL not configured