---
title: "Update Flow Graph Draft"
method: PATCH
path: "/api/v1/flow-graphs/{graph_id}/draft"
tags: ["flow-graphs"]
---

# Update Flow Graph Draft

`PATCH /api/v1/flow-graphs/{graph_id}/draft`

## Request

- Base URL: `https://api.outrival.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outrival.com/api/v1/flow-graphs/{graph_id}/draft`
- Auth: HTTP bearer

## Path parameters

- `graph_id` string, required

## Request body

- UpdateDraftRequest
  - `campaign_id` string, nullable
  - `canonical_graph` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-25** `389f365f5cec`: 1 info
  - added the new optional request property `campaign_id`

[Operation history](https://skmtc.dev/outrival/apis/outrival-api/changes/api/v1/flow-graphs/:graph_id/draft/patch.md)

---

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