---
title: "Update Agentflow"
method: PATCH
path: "/api/agentflows/{agentflow_id}"
tags: ["agentflows"]
---

# Update Agentflow

`PATCH /api/agentflows/{agentflow_id}`

## Path parameters

- `agentflow_id` string, uuid, required

## Request body

- AgentFlowUpdate
  - `name` string, required
  - `description` string, required
  - `flow` Flow[], required
    - `agent_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/genai-works-org/apis/genai-backend.md) · [All operations](https://skmtc.net/genai-works-org/apis/genai-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/genai-works-org/genai-backend/versions/b995ea35626b/schema)
