aip_sdk.get_topology
aip_sdk.get_topology(dataset_id: str, version_id: str, *, client: APIClient | None = None) -> TopologyGraph
Fetch the topology graph for an agent-trace dataset version.
Parameters
dataset_idstr: Dataset ID.version_idstr: Dataset version ID.clientAPIClient | None: Optional API client.
Returns
TopologyGraph: The version's topology graph.
Raises
AuthError: If credentials are missing or invalid.NotFoundError: If the dataset version does not exist, or belongs to a workspace the caller is not a member of.UnprocessableEntityError: If the version is not an agent-trace version.