# Workflow

WorkflowService creates and manages workflows.

`komrad.workflow.v1.WorkflowService`

-   [`list_workflows`](https://komrad.dev/latest/api/workflow/list-workflows.md)
    
    List workflows by name.
    
-   [`get_workflow`](https://komrad.dev/latest/api/workflow/get-workflow.md)
    
    Get one workflow by id, with its context in full.
    
-   [`create_workflow`](https://komrad.dev/latest/api/workflow/create-workflow.md)
    
    Create a workflow.
    
-   [`update_workflow`](https://komrad.dev/latest/api/workflow/update-workflow.md)
    
    Replace every field of a workflow, \`hooks\` and \`event\_prompts\` included.
    
-   [`archive_workflow`](https://komrad.dev/latest/api/workflow/archive-workflow.md)
    
    Archive a workflow with its agents.
    
-   [`restore_workflow`](https://komrad.dev/latest/api/workflow/restore-workflow.md)
    
    Restore an archived workflow with its agents, which stay dormant until resumed.
    
-   [`delete_workflow`](https://komrad.dev/latest/api/workflow/delete-workflow.md)
    
    Delete the worktrees of an archived workflow's tasks.
