v27

latestOpenAPI 3.1.0LicenseRef-Proprietaryraw.githubusercontent.com2026-07-21173076.1 KB
Tasks

Archive a task

Archive a task so it stops appearing in GET /tasks results. Turns and files are retained for audit purposes. Only the worker creator can archive a task.

delete/api/tasks/{taskId}

Path parameters

taskIdstring required
Example:tsk_01HZY31W2SZJ8MJ2FQTR3M1K9D

Task id returned by the create task endpoint.

Response

Archive result.

archivedboolean required

Example response

{
  "archived": true
}