---
title: "Update workflow metadata"
method: PATCH
path: "/workflows/definitions/{id}"
tags: ["Workflow definitions"]
---

# Update workflow metadata

`PATCH /workflows/definitions/{id}`

## Request

- Base URL: `https://api.nullplatform.com`
- URL: `https://api.nullplatform.com/workflows/definitions/{id}`
- Auth: HTTP bearer

Updates record-level fields (name, description, path, metadata) without creating a revision. At least one field is required.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `path` string
  - `metadata` object
  - `nrn` string

## Response `200`

The updated workflow record.

- object
  - `workflow` Workflow
    - `id` string, required
    - `key` string
    - `name` string, required
    - `description` string
    - `path` string
    - `organizationId` string
    - `nrn` string
    - `metadata` object
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `4XX`: Client error. The body says what went wrong: an error `type`, a human-readable `detail`, and, on validation failures, one entry per offending field.
- `5XX`: Unexpected server error.

## Changes

- **2026-09-17** `43b3c1ecdfd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nullplatform/apis/nullplatform-api/changes/workflows/definitions/:id/patch.md)

---

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