curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/tree/{branch}/commits/{commit_id}/canvas{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get canvas state for a node at a specific historical commit with flat structure.
Returns a flat dictionary where keys are node IDs and values are complete state objects. The parent node’s child_nodes field contains only child node IDs (not nested objects). Each child node gets its own entry in the dictionary.
This endpoint is used for viewing historical canvas states - the canvas as it existed at a specific point in time.
Query params: resolve_children: “latest” (default) shows children at their current main HEAD. “snapshot” shows children as they were when this commit was pushed.
curl --request GET \
--url https://api.example.com/orgs/{org_id}/nodes/{node_id}/tree/{branch}/commits/{commit_id}/canvas{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}