rca_graph_list_versions
List all historical versions of a causal graph with timestamps and node/edge counts. Use returned version IDs to restore earlier graph states.
Instructions
List all historical versions of a causal graph. A new version is snapshotted automatically every time the graph is saved (node/edge additions, removals, etc) -- there's no separate "save version" step. Requires the graph_versioning feature (Starter+).
Use the returned version_id values with rca_graph_restore_version to roll back to an earlier state.
Args: params (GraphListVersionsInput): graph_id -- the graph to list versions for
Returns: str: JSON {graph_id, total, versions: [{version_id, created_at, node_count, edge_count}, ...]}, newest first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |