Skip to content

Get Plotline Tree

GET
/api/creative/plot/plotlines/tree

Get the full plotline hierarchy for the active project.

Successful Response

PlotlineTreeResponse

Tree response wrapper.

object
status
required
Status

Operation status

string
data
required
PlotlineTreeData

Tree payload

object
tree
required
Tree

Hierarchical plotline tree

Array<object>
PlotlineTreeNode

Plotline with nested children for tree rendering.

object
id
required
Id

Plotline UUID

string
projectId
required
Projectid

Owning project

string
parentId
Any of:
string
title
required
Title

Plotline title

string
summary
Summary

Brief summary

string
""
subplotType
Subplottype

Subplot classification

string
default: main
Allowed values: main mirror contrast complication character_development world_building
scale
Scale

Narrative scope

string
default: plotline
Allowed values: saga arc plotline subplot
color
Color

Display color hex

string
default: #6b7280
sortOrder
Sortorder

Sort position

integer
0
status
Status

Lifecycle status

string
default: active
Allowed values: active resolved dormant dropped
importance
Importance

Importance tier

string
default: major
Allowed values: major supporting minor
beatSheetTemplateId
Any of:
string
loreEntryId
Any of:
string
children
Array<object> recursive
total
required
Total

Total plotline count

integer