list_links

readSince v1.0

List links — the connections between agents within a scenario (the simulation counterpart of relationships). Returns endpoints with resolved agent labels and link property values. Filter by scenario, relationship type, or endpoint.

Example Request

{"scenario_id": "scenario-uuid"}

Example Response

{"total_count": 1, "links": [{"id": "link-uuid", "relationship_type": "supplies", "source_agent_id": "a1", "source_label": "Factory A", "target_agent_id": "a2", "target_label": "Warehouse"}]}