komrad

delete_workflow

Delete the worktrees of an archived workflow's tasks.

writesidempotentdestructiveCLI onlyWorkflow

With records set, delete the workflow for good too, with its archived agents, tasks and schedules.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.workflow.v1.WorkflowService/DeleteWorkflow \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "<id>"
}'

Request#

DeleteWorkflowRequest#

FieldTypeDescription
iduuid*

The archived workflow to delete, by id.

recordsbool

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

Response#

Empty#

No fields.