---
title: "Get Campaign Graph"
method: GET
path: "/v1/campaigns/{campaign_id}/graph"
tags: ["LiveOps"]
---

# Get Campaign Graph

`GET /v1/campaigns/{campaign_id}/graph`

## Path parameters

- `campaign_id` string, required

## Response `200`

Successful Response

- CampaignGraph
  - `id` string, required
  - `next_node_id` string
  - `title` string
  - `x` integer, required
  - `y` integer, required
  - `result` string
  - `model_type` string
  - `break_on_error` boolean
  - `description` string
  - `nodes` object
  - `view_port` ViewPort
    - `x` number, required
    - `y` number, required
    - `zoom` number, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `1816e2044c07` — 1 warning, 1 info
  - added the new `function` enum value to the `nodes/additionalProperties/oneOf[subschema #1: ConditionNode]/expr/tokens/items/type` response property for the response status `200`
  - added the optional property `nodes/additionalProperties/oneOf[subschema #1: ConditionNode]/expr/name` to the response with the `200` status
- **2026-09-23** `0acbda3de1af` — 1 breaking, 1 info
  - added `#/components/schemas/GrantDiscordRoleNode, #/components/schemas/RemoveDiscordRoleNode` to the `nodes/additionalProperties/` response property `oneOf` list for the response status `200`
  - added `GrantDiscordRoleNode, RemoveDiscordRoleNode` discriminator mapping keys to the `nodes/additionalProperties/` response property for the response status `200`
- **2026-09-18** `fb9750c99d0a` — 1 warning
  - for the `path` request parameter `campaign_id`, the maxLength was set to `32`
- …earlier changes not shown

[Full history](https://skmtc.dev/aghanim/apis/aghanim-server-to-server-api/changes/v1/campaigns/:campaign_id/graph/get.md)

---

[API](https://skmtc.dev/aghanim/apis/aghanim-server-to-server-api.md) · [All operations](https://skmtc.dev/aghanim/apis/aghanim-server-to-server-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aghanim/apis/aghanim-server-to-server-api/revisions/32e27bc547ae?raw)
