---
title: "Update workflow"
method: PATCH
path: "/agents/v2/workflows/{workflowId}"
tags: ["Workflows"]
---

# Update workflow

`PATCH /agents/v2/workflows/{workflowId}`

## Request

- Base URL: `https://odyssey.asteroid.ai`
- URL: `https://odyssey.asteroid.ai/agents/v2/workflows/{workflowId}`
- Auth: API key in header `X-Api-Key`

Update mutable workflow fields.

## Path parameters

- `workflowId` string, uuid, required

## Request body

- WorkflowsWorkflowUpdateRequest: Request to update a workflow
  - `name` string: New name for the workflow. Letters, digits, spaces, and punctuation excluding _ < > : " / \ | ? and *.

## Response `200`

The request has succeeded.

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `409`: The request conflicts with the current state of the server.
- `500`: Server error

---

[API](https://skmtc.dev/asteroid/apis/agent-service.md) - [All operations](https://skmtc.dev/asteroid/apis/agent-service/llms.txt) - [OpenAPI document](https://skmtc.dev/asteroid/apis/agent-service/revisions/ccc134d1d510?raw)
