unarchive_task
Puts a task (or several — taskId accepts an array) back into live work. Same batch contract as archive_task: succeeded/failed, each id independent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ONE identifier, or UP TO 100 (array) — same contract as `archive_task`: each id is unarchived INDEPENDENTLY, `succeeded`/`failed` in batch form. | |
| claimToken | No | The token of YOUR claim (returned by `claim_task`) — REQUIRED to write to a task a lease holds: without it, the refusal is `CLAIM_HELD`; a stale token gives `CLAIM_LOST`. A SECRET that stays out of every written text. Any write that carries it extends the lease without touching the declared progress; the end of the task (`done`, archiving, back to `todo`) releases the claim. On a task nobody holds, the field stays empty. | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |