Skip to main content

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_id str: Dataset ID.
  • version_id str: Dataset version ID.
  • client APIClient | None: Optional API client.

Returns

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.