Skip to main content
POST
Import dialogue_graph JSON into a dialogue graph

Path Parameters

project_id
string
required
graph_id
string
required

Body

application/json

Replace graph nodes atomically, remapping non-UUID IDs and references.

Optional export metadata is accepted but does not change the destination graph's identity or name. Older nodes/edges/start_node_id bodies still work.

graph_id
string | null
Maximum string length: 200
name
string | null
Maximum string length: 200
nodes
DialogueGraphNodeImport · object[]
edges
DialogueGraphEdgeImport · object[]
start_node_id
string | null
Required string length: 1 - 200

Response

Import completed

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

graph_id
string
required
nodes_created
integer
required
edges_created
integer
required