Skip to main content

aip_sdk.list_judge_connections

aip_sdk.list_judge_connections(*, project_id: str | None = None, workspace_id: str | None = None, page: int = 1, per_page: int = 100, client: APIClient | None = None, all_workspaces: bool = False) -> list[JudgeConnection]

List registered judge connections visible to the caller.

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

  • project_id str | None: Scope the listing to this project, which determines the workspace. Pass this or workspace_id, not both.
  • workspace_id str | None: Restrict the listing to this workspace.
  • page int: 1-based page number.
  • per_page int: Page size.
  • client APIClient | None: Optional pre-configured API client.
  • all_workspaces bool: Read across every workspace you can access.

Returns

  • list[JudgeConnection]: list[JudgeConnection]: the connections on the requested page (keys masked).

Raises

Example:

for judge in aip.list_judge_connections(workspace_id="ws-abc123"):
print(judge.name, judge.model)