Answer a task's open question
POST/api/tasks/:task_id/answer
Answers the question a task in awaiting_response is waiting on: a live run receives the answer directly, otherwise the task goes back to the queue. When the task has open question rounds, resolves the one named by question_id or else the oldest. Returns the updated task; a chat task or any other state returns 409.
Request
Responses
- 200
- 422
OK
Unprocessable content