---
title: "Update a Workflow"
method: POST
path: "/workflows/{id}/"
---

# Update a Workflow

`POST /workflows/{id}/`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/workflows/{id}/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/workflows/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to update a Workflow.

## Path parameters

- `id` string, required

## Request body

- unknown

## Response `200`

200

- object
  - `meta` object
    - `name` string
    - `created` string
    - `tags` unknown[]
      - unknown
    - `last_update` string
    - `owner` string
    - `description` unknown
  - `id` string
  - `workflow` object
    - `handle_cookies` boolean
    - `call_ids` string[]
    - `stop_on_failure` boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
