---
title: "Update Workflow Public"
method: PATCH
path: "/v1/workflows/{workflow_id}"
tags: ["V1 - Workflows"]
---

# Update Workflow Public

`PATCH /v1/workflows/{workflow_id}`

## Request

- Base URL: `https://api.app.noxus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.noxus.ai/v1/workflows/{workflow_id}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `workflow_id` string, required

## Query parameters

- `force` boolean

## Request body

- UpdateWorkflowRequest
  - `name` string, nullable
  - `description` string, nullable
  - `type` 'flow' | 'handler' | 'ingestion' | 'inbox_process' | 'inbox_filtering' | 'inbox_extraction' | 'task_automation'
  - `saved` boolean, nullable
  - `definition` object, nullable
  - `error_handler` union
    - string, uuid
    - Unset
  - `meta` WorkflowMeta
    - `tags` WorkflowTag[]
      - `value` string, required
      - `color` string, required
    - `icon` string, nullable
    - `log_sync_sheet` WorkflowLogSheet
      - `name` string, required
      - `id` string, required
      - `time_created` string, required
    - `columns` WorkflowLogColumn[], nullable
      - `name` string, required
      - `visible` boolean
    - `spreadsheet` WorkflowLogSpreadsheet
      - `name` string, required
      - `id` string, required
      - `timestamp` string, required
      - `url` string, nullable
    - `template_id` string, nullable
    - `variables` object[], nullable
    - `source` 'genie' | 'user': Who authored an entity (or version). Absent/``user`` means a person made it; ``genie`` marks something the platform assistant created on their behalf, so the frontend can badge it.
  - `workflow_hash` string, nullable
  - `is_app_published` boolean, nullable
  - `app_settings_v2` AppSettingsV2
    - `is_active` boolean
    - `version_id` string, nullable
    - `interface_type` 'slack' | 'teams' | 'chat' | 'form' | 'whatsapp' | 'embed_widget' | 'telegram'
    - `extra_settings` object, nullable
    - `published_at` string, date-time, nullable
  - `expected_workflow_id` string, uuid, nullable
  - `base_revision` integer, nullable

## Response `200`

Successful Response

- Workflow
  - `id` string, uuid, required
  - `group_id` string, uuid, required
  - `name` string, required
  - `type` 'flow' | 'handler' | 'ingestion' | 'inbox_process' | 'inbox_filtering' | 'inbox_extraction' | 'task_automation', required
  - `definition` object, required
  - `workflow_hash` string, nullable
  - `revision` integer
  - `meta` WorkflowMeta
    - `tags` WorkflowTag[]
      - `value` string, required
      - `color` string, required
    - `icon` string, nullable
    - `log_sync_sheet` WorkflowLogSheet
      - `name` string, required
      - `id` string, required
      - `time_created` string, required
    - `columns` WorkflowLogColumn[], nullable
      - `name` string, required
      - `visible` boolean
    - `spreadsheet` WorkflowLogSpreadsheet
      - `name` string, required
      - `id` string, required
      - `timestamp` string, required
      - `url` string, nullable
    - `template_id` string, nullable
    - `variables` object[], nullable
    - `source` 'genie' | 'user': Who authored an entity (or version). Absent/``user`` means a person made it; ``genie`` marks something the platform assistant created on their behalf, so the frontend can badge it.
  - `last_updated_at` string, date-time, nullable
  - `last_run_at` string, date-time, nullable
  - `created_at` string, date-time, nullable
  - `deleted_at` string, date-time, nullable
  - `runs_count` integer, nullable
  - `author_name` string, nullable
  - `description` string, nullable
  - `saved` boolean, nullable
  - `error_handler` string, uuid, nullable
  - `is_app_published` boolean, nullable
  - `app_settings_v2` AppSettingsV2
    - `is_active` boolean
    - `version_id` string, nullable
    - `interface_type` 'slack' | 'teams' | 'chat' | 'form' | 'whatsapp' | 'embed_widget' | 'telegram'
    - `extra_settings` object, nullable
    - `published_at` string, date-time, nullable
  - `flow_version` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noxus/apis/noxus-backend.md) - [All operations](https://skmtc.dev/noxus/apis/noxus-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/noxus/apis/noxus-backend/revisions/0e37810b7ad5?raw)
