Discover artifacts programmatically and manage the Context Graph.
These tools let your custom code “see” the rest of the system. Use them to find artifacts, build dynamic workflows, and maintain the architectural connections between components.
The relationships tool manages the connections between artifacts and Dimensions. It builds self-documenting systems where every component knows why it’s connected to others.
Each relationship includes natural language metadata — from_perspective and to_perspective — that captures why two things are connected. This allows the AI to reason about system architecture.
default_api.relationships( operation="create", from_id="sales-dashboard-canvas", to_id="sales-dimension", relationship_type="governs", from_perspective="I display KPIs for this dimension's sales team.", to_perspective="I govern this dashboard and provide its data context.")