---
title: "Preview a normalized execution plan for an inline workflow graph"
method: POST
path: "/workflows/plan"
tags: ["Workflows"]
---

# Preview a normalized execution plan for an inline workflow graph

`POST /workflows/plan`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/workflows/plan`
- Auth: HTTP bearer

Compute a normalized plan for a graph that is NOT yet saved. Accepts
either ``{config: {...}}`` or a raw graph ``{nodes, edges, start_node_id}``
directly. Read-only: nothing is persisted or executed.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- object: {config: {nodes, edges, ...}, include_cost?, include_audience_size?}

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
