komrad

delete_tasks

Delete tasks' worktrees, by task_ids or task_slugs, archiving the tasks first.

writesidempotentdestructiveCLI onlyTask

With records set, delete the tasks for good too, with every agent on them and their transcripts, documents, mail, notes and reviews.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.task.v1.TaskService/DeleteTasks \
  -H 'Content-Type: application/json' \
  -d '{}'

Request#

DeleteTasksRequest#

FieldTypeDescription
task_idsuuid[]

no repeats

The tasks to delete, by id.

recordsbool

Whether to delete the tasks' agents, transcripts, documents, mail, notes and reviews too. False deletes only the tasks' worktrees and keeps the tasks archived.

task_slugsstring[]

no repeats

each not empty

The tasks to delete, by slug.

Response#

Empty#

No fields.