Skip to main content
POST
Validate dialogue graph structure

Path Parameters

graph_id
string
required

Response

Validation report

Response for POST /dialogues/{id}/validate.

All three lists hold node ids. Empty lists mean the graph is clean.

dead_ends
string[]

Nodes whose kind is not 'end' but whose branches[] list is empty.

unreachable
string[]

Nodes that cannot be reached from the graph's start_node_id (or from the first node, if no start_node_id is set).

invalid_branch_targets
Invalid Branch Targets · object[]

Branches that reference a target_node_id which does not exist in this graph. Each entry is {from_node_id, target_node_id, choice_text}.