aip_sdk.list_source_connections
aip_sdk.list_source_connections(*, client: APIClient | None = None, workspace_id: str | None = None, all_workspaces: bool = False) -> list[TraceSourceConnection]
List saved object-store connections traces can be pulled from.
Reads your session's workspace unless you name one, and raises if none is set.
Pass all_workspaces=True to read across every workspace you can access.
Parameters
clientAPIClient | None: Optional API client.workspace_idstr | None: Return only connections saved in this workspace.all_workspacesbool: Read across every workspace you can access.
Returns
list[TraceSourceConnection]: The available source connections, with credential fields masked.
Raises
InvalidArgumentError: If bothworkspace_idandall_workspacesare given.AuthError: If credentials are missing or invalid.ForbiddenError: Ifworkspace_idnames a workspace you cannot access.ResponseParseError: If the platform's response does not match this SDK version.NoWorkspaceSelectedError: No workspace was passed, none is configured for the session, andall_workspaceswas not set.