Complete a human task raised by a turn
Completes a human task, optionally with a note and files. Every id in fileIds must exist and be readable by the caller (space:read on the space it lives in), otherwise 404 — a task result the agent cannot open is not a result. Authorization: work_session:comment on the session, OR space:contribute on one of its linked spaces; a desk session is writable only by its owner. Any denial is 404.
POST
https://api.cloudraker.com/workspace/sessions/{sessionId}/tasks/{taskId}/complete